public class StreamSummary extends ServerResource implements IStreamSummary
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamSummary.Options
Simple default generic IOptions implementation class.
|
IStreamSummary.IOptions, IStreamSummary.Type| Modifier and Type | Field and Description |
|---|---|
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 |
refreshable, server, updateable| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRefresh, canUpdate, refresh, setServer, update, update, updateprotected 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
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.
public String getStream()
IStreamSummarygetStream in interface IStreamSummaryIStreamSummary.getStream()public void setStream(String stream)
IStreamSummarysetStream in interface IStreamSummarystream - new stream's pathcom.perforce.p4java.core.IStreamSummary#setStream(com.perforce.p4java.impl.generic.core.file.FilePath)public Date getAccessed()
IStreamSummarygetAccessed in interface IStreamSummaryIStreamSummary.getAccessed()public void setAccessed(Date accessed)
IStreamSummarysetAccessed in interface IStreamSummaryaccessed - new accessed date.IStreamSummary.setAccessed(java.util.Date)public Date getUpdated()
IStreamSummarygetUpdated in interface IStreamSummaryIStreamSummary.getUpdated()public void setUpdated(Date updated)
IStreamSummarysetUpdated in interface IStreamSummaryupdated - new updated date.IStreamSummary.setUpdated(java.util.Date)public String getName()
IStreamSummarygetName in interface IStreamSummaryIStreamSummary.getName()public void setName(String name)
IStreamSummarysetName in interface IStreamSummaryname - new stream spec nameIStreamSummary.setName(java.lang.String)public String getOwnerName()
IStreamSummarygetOwnerName in interface IStreamSummaryIStreamSummary.getOwnerName()public void setOwnerName(String ownerName)
IStreamSummarysetOwnerName in interface IStreamSummaryownerName - new owner's nameIStreamSummary.setOwnerName(java.lang.String)public String getDescription()
IStreamSummarygetDescription in interface IStreamSummaryIStreamSummary.getDescription()public void setDescription(String description)
IStreamSummarysetDescription in interface IStreamSummarydescription - new description string.IStreamSummary.setDescription(java.lang.String)public String getParent()
IStreamSummarygetParent in interface IStreamSummaryIStreamSummary.getParent()public void setParent(String parent)
IStreamSummarysetParent in interface IStreamSummaryparent - new stream parent.IStreamSummary.setParent(java.lang.String)public IStreamSummary.Type getType()
IStreamSummarygetType in interface IStreamSummaryIStreamSummary.getType()public void setType(IStreamSummary.Type type)
IStreamSummarysetType in interface IStreamSummarytype - new stream type.com.perforce.p4java.core.IStreamSummary#setParent(com.perforce.p4java.core.IStreamSummary.Type)public IStreamSummary.IOptions getOptions()
IStreamSummarygetOptions in interface IStreamSummaryIStreamSummary.getOptions()public void setOptions(IStreamSummary.IOptions options)
IStreamSummarysetOptions in interface IStreamSummaryoptions - new stream options.IStreamSummary.setOptions(com.perforce.p4java.core.IStreamSummary.IOptions)public boolean isFirmerThanParent()
IStreamSummaryisFirmerThanParent in interface IStreamSummaryIStreamSummary.isFirmerThanParent()public void setFirmerThanParent(boolean firmerThanParent)
IStreamSummarysetFirmerThanParent in interface IStreamSummaryIStreamSummary.setFirmerThanParent(boolean)public boolean isChangeFlowsToParent()
IStreamSummaryisChangeFlowsToParent in interface IStreamSummaryIStreamSummary.isChangeFlowsToParent()public void setChangeFlowsToParent(boolean changeFlowsToParent)
IStreamSummarysetChangeFlowsToParent in interface IStreamSummaryIStreamSummary.setChangeFlowsToParent(boolean)public boolean isChangeFlowsFromParent()
IStreamSummaryisChangeFlowsFromParent in interface IStreamSummaryIStreamSummary.isChangeFlowsFromParent()public void setChangeFlowsFromParent(boolean changeFlowsFromParent)
IStreamSummarysetChangeFlowsFromParent in interface IStreamSummaryIStreamSummary.setChangeFlowsFromParent(boolean)public String getBaseParent()
IStreamSummarygetBaseParent in interface IStreamSummaryIStreamSummary.getBaseParent()public void setBaseParent(String baseParent)
IStreamSummarysetBaseParent in interface IStreamSummarybaseParent - new stream base parent.IStreamSummary.setBaseParent(java.lang.String)public boolean isUnloaded()
IStreamSummaryisUnloaded in interface IStreamSummaryIStreamSummary.isUnloaded()Copyright © 2017 Perforce Software. All Rights Reserved.