|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.impl.generic.core.ServerResource
com.perforce.p4java.impl.generic.core.StreamSummary
public class StreamSummary
Default implementation class for the IStreamSummary interface.
Nested Class Summary | |
---|---|
static class |
StreamSummary.Options
Simple default generic IOptions implementation class. |
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IStreamSummary |
---|
IStreamSummary.IOptions, IStreamSummary.Type |
Field Summary | |
---|---|
protected Date |
accessed
|
protected String |
baseParent
|
protected boolean |
changeFlowsFromParent
|
protected boolean |
changeFlowsToParent
|
protected String |
description
|
protected boolean |
firmerThanParent
|
protected String |
name
|
protected IStreamSummary.IOptions |
options
|
protected String |
ownerName
|
protected String |
parent
|
protected String |
stream
|
protected IStreamSummary.Type |
type
|
protected boolean |
unloaded
|
protected Date |
updated
|
Fields inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
---|
refreshable, server, updateable |
Constructor Summary | |
---|---|
StreamSummary()
Default constructor -- sets all fields to null or false. |
|
StreamSummary(boolean summaryOnly)
Default constructor; same as no-argument default constructor, except that it sets the ServerResource superclass fields appropriately for summary only (everything false) or full stream spec (updateable and refreshable). |
|
StreamSummary(boolean summaryOnly,
String stream,
Date accessed,
Date updated,
String name,
String ownerName,
String description,
String parent,
IStreamSummary.Type type,
StreamSummary.Options options)
Explicit-value constructor. |
|
StreamSummary(Map<String,Object> map,
boolean summaryOnly)
Construct a StreamSummary from a map returned by the Perforce server. |
Method Summary | |
---|---|
Date |
getAccessed()
Get the date of the last 'integrate' using this stream. |
String |
getBaseParent()
Get the stream's base parent. |
String |
getDescription()
Get the stream's description (if any). |
String |
getName()
Get the alternate name of the stream. |
IStreamSummary.IOptions |
getOptions()
Get the stream options |
String |
getOwnerName()
Get the name of the user who created this stream. |
String |
getParent()
Get the stream's parent. |
String |
getStream()
Get the stream's path in a stream depot. |
IStreamSummary.Type |
getType()
Get the stream type |
Date |
getUpdated()
Get the date specification was last modified. |
boolean |
isChangeFlowsFromParent()
Is change flows from parent. |
boolean |
isChangeFlowsToParent()
Is change flows to parent. |
boolean |
isFirmerThanParent()
Is firmer than parent. |
boolean |
isUnloaded()
Return the "unloaded" status for this stream. |
void |
setAccessed(Date accessed)
Set the last-accessed date. |
void |
setBaseParent(String baseParent)
Set the stream base parent. |
void |
setChangeFlowsFromParent(boolean changeFlowsFromParent)
Set (true/false) the stream's change flows from parent. |
void |
setChangeFlowsToParent(boolean changeFlowsToParent)
Set (true/false) the stream's change flows to parent. |
void |
setDescription(String description)
Set the stream spec description. |
void |
setFirmerThanParent(boolean firmerThanParent)
Set (true/false) the stream is firmer than parent. |
void |
setName(String name)
Set the name of this stream. |
void |
setOptions(IStreamSummary.IOptions options)
Set the stream options. |
void |
setOwnerName(String ownerName)
Set the owner's name for this stream. |
void |
setParent(String parent)
Set the stream parent. |
void |
setStream(String stream)
Set the stream's path. |
void |
setType(IStreamSummary.Type type)
Set the stream type. |
void |
setUpdated(Date updated)
Set the last-updated date. |
Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
---|
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.perforce.p4java.core.IServerResource |
---|
canRefresh, canUpdate, refresh, setServer, update, update, update |
Field Detail |
---|
protected String stream
protected Date accessed
protected Date updated
protected String name
protected String ownerName
protected String description
protected String parent
protected IStreamSummary.Type type
protected IStreamSummary.IOptions options
protected String baseParent
protected boolean firmerThanParent
protected boolean changeFlowsToParent
protected boolean changeFlowsFromParent
protected boolean unloaded
Constructor Detail |
---|
public StreamSummary()
public StreamSummary(boolean summaryOnly)
public StreamSummary(boolean summaryOnly, String stream, Date accessed, Date updated, String name, String ownerName, String description, String parent, IStreamSummary.Type type, StreamSummary.Options options)
public StreamSummary(Map<String,Object> map, boolean summaryOnly)
If map is null, this is equivalent to calling the default summaryOnly-argument constructor.
Method Detail |
---|
public String getStream()
IStreamSummary
getStream
in interface IStreamSummary
IStreamSummary.getStream()
public void setStream(String stream)
IStreamSummary
setStream
in interface IStreamSummary
stream
- new stream's pathcom.perforce.p4java.core.IStreamSummary#setStream(com.perforce.p4java.impl.generic.core.file.FilePath)
public Date getAccessed()
IStreamSummary
getAccessed
in interface IStreamSummary
IStreamSummary.getAccessed()
public void setAccessed(Date accessed)
IStreamSummary
setAccessed
in interface IStreamSummary
accessed
- new accessed date.IStreamSummary.setAccessed(java.util.Date)
public Date getUpdated()
IStreamSummary
getUpdated
in interface IStreamSummary
IStreamSummary.getUpdated()
public void setUpdated(Date updated)
IStreamSummary
setUpdated
in interface IStreamSummary
updated
- new updated date.IStreamSummary.setUpdated(java.util.Date)
public String getName()
IStreamSummary
getName
in interface IStreamSummary
IStreamSummary.getName()
public void setName(String name)
IStreamSummary
setName
in interface IStreamSummary
name
- new stream spec nameIStreamSummary.setName(java.lang.String)
public String getOwnerName()
IStreamSummary
getOwnerName
in interface IStreamSummary
IStreamSummary.getOwnerName()
public void setOwnerName(String ownerName)
IStreamSummary
setOwnerName
in interface IStreamSummary
ownerName
- new owner's nameIStreamSummary.setOwnerName(java.lang.String)
public String getDescription()
IStreamSummary
getDescription
in interface IStreamSummary
IStreamSummary.getDescription()
public void setDescription(String description)
IStreamSummary
setDescription
in interface IStreamSummary
description
- new description string.IStreamSummary.setDescription(java.lang.String)
public String getParent()
IStreamSummary
getParent
in interface IStreamSummary
IStreamSummary.getParent()
public void setParent(String parent)
IStreamSummary
setParent
in interface IStreamSummary
parent
- new stream parent.IStreamSummary.setParent(java.lang.String)
public IStreamSummary.Type getType()
IStreamSummary
getType
in interface IStreamSummary
IStreamSummary.getType()
public void setType(IStreamSummary.Type type)
IStreamSummary
setType
in interface IStreamSummary
type
- new stream type.com.perforce.p4java.core.IStreamSummary#setParent(com.perforce.p4java.core.IStreamSummary.Type)
public IStreamSummary.IOptions getOptions()
IStreamSummary
getOptions
in interface IStreamSummary
IStreamSummary.getOptions()
public void setOptions(IStreamSummary.IOptions options)
IStreamSummary
setOptions
in interface IStreamSummary
options
- new stream options.IStreamSummary.setOptions(com.perforce.p4java.core.IStreamSummary.IOptions)
public boolean isFirmerThanParent()
IStreamSummary
isFirmerThanParent
in interface IStreamSummary
IStreamSummary.isFirmerThanParent()
public void setFirmerThanParent(boolean firmerThanParent)
IStreamSummary
setFirmerThanParent
in interface IStreamSummary
IStreamSummary.setFirmerThanParent(boolean)
public boolean isChangeFlowsToParent()
IStreamSummary
isChangeFlowsToParent
in interface IStreamSummary
IStreamSummary.isChangeFlowsToParent()
public void setChangeFlowsToParent(boolean changeFlowsToParent)
IStreamSummary
setChangeFlowsToParent
in interface IStreamSummary
IStreamSummary.setChangeFlowsToParent(boolean)
public boolean isChangeFlowsFromParent()
IStreamSummary
isChangeFlowsFromParent
in interface IStreamSummary
IStreamSummary.isChangeFlowsFromParent()
public void setChangeFlowsFromParent(boolean changeFlowsFromParent)
IStreamSummary
setChangeFlowsFromParent
in interface IStreamSummary
IStreamSummary.setChangeFlowsFromParent(boolean)
public String getBaseParent()
IStreamSummary
getBaseParent
in interface IStreamSummary
IStreamSummary.getBaseParent()
public void setBaseParent(String baseParent)
IStreamSummary
setBaseParent
in interface IStreamSummary
baseParent
- new stream base parent.IStreamSummary.setBaseParent(java.lang.String)
public boolean isUnloaded()
IStreamSummary
isUnloaded
in interface IStreamSummary
IStreamSummary.isUnloaded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |