Package com.perforce.p4java.core
Interface IStreamSummary
-
- All Superinterfaces:
IServerResource
- All Known Subinterfaces:
IStream
- All Known Implementing Classes:
Stream
,StreamSummary
public interface IStreamSummary extends IServerResource
Defines the summary Perforce stream metadata typically returned by the getStreamSummaryList() method, corresponding to "p4 streams" and similar.In general, stream summary information excludes the stream paths, remapped, ignored, and no server-side operations can be performed against them; for full stream functionality you should use the full IStream interface.
Stream summaries are complete and not refreshable or updateable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IStreamSummary.IOptions
Stream options are flags to configure stream behavior.static class
IStreamSummary.ParentView
ParentView: 'inherit' or 'noinherit'.static class
IStreamSummary.Type
Types of streams include 'mainline', 'release', 'development', 'virtual' and 'task'.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Date
getAccessed()
Get the date of the last 'integrate' using this stream.java.lang.String
getBaseParent()
Get the stream's base parent.java.lang.String
getDescription()
Get the stream's description (if any).java.lang.String
getName()
Get the alternate name of the stream.IStreamSummary.IOptions
getOptions()
Get the stream optionsjava.lang.String
getOwnerName()
Get the name of the user who created this stream.java.lang.String
getParent()
Get the stream's parent.IStreamSummary.ParentView
getParentView()
Get the stream parentViewjava.lang.String
getStream()
Get the stream's path in a stream depot.IStreamSummary.Type
getType()
Get the stream typejava.util.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(java.util.Date accessed)
Set the last-accessed date.void
setBaseParent(java.lang.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(java.lang.String description)
Set the stream spec description.void
setFirmerThanParent(boolean firmerThanParent)
Set (true/false) the stream is firmer than parent.void
setName(java.lang.String name)
Set the name of this stream.void
setOptions(IStreamSummary.IOptions options)
Set the stream options.void
setOwnerName(java.lang.String ownerName)
Set the owner's name for this stream.void
setParent(java.lang.String parent)
Set the stream parent.void
setParentView(IStreamSummary.ParentView parentView)
Set the stream parentView.void
setStream(java.lang.String stream)
Set the stream's path.void
setType(IStreamSummary.Type type)
Set the stream type.void
setUpdated(java.util.Date updated)
Set the last-updated date.-
Methods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
-
-
-
Method Detail
-
getStream
java.lang.String getStream()
Get the stream's path in a stream depot.- Returns:
- stream path
-
getName
java.lang.String getName()
Get the alternate name of the stream.- Returns:
- name
-
getOwnerName
java.lang.String getOwnerName()
Get the name of the user who created this stream.- Returns:
- owner
-
getUpdated
java.util.Date getUpdated()
Get the date specification was last modified.- Returns:
- date
-
getAccessed
java.util.Date getAccessed()
Get the date of the last 'integrate' using this stream.- Returns:
- date
-
getDescription
java.lang.String getDescription()
Get the stream's description (if any).- Returns:
- description
-
getParent
java.lang.String getParent()
Get the stream's parent.- Returns:
- parent
-
getType
IStreamSummary.Type getType()
Get the stream type- Returns:
- type
-
getParentView
IStreamSummary.ParentView getParentView()
Get the stream parentView- Returns:
- parent view
-
getOptions
IStreamSummary.IOptions getOptions()
Get the stream options- Returns:
- options
-
isFirmerThanParent
boolean isFirmerThanParent()
Is firmer than parent.- Returns:
- if true
-
isChangeFlowsToParent
boolean isChangeFlowsToParent()
Is change flows to parent.- Returns:
- if true
-
isChangeFlowsFromParent
boolean isChangeFlowsFromParent()
Is change flows from parent.- Returns:
- if true
-
getBaseParent
java.lang.String getBaseParent()
Get the stream's base parent.- Returns:
- parent base
-
setStream
void setStream(java.lang.String stream)
Set the stream's path. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
stream
- new stream's path
-
setName
void setName(java.lang.String name)
Set the name of this stream. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
name
- new stream spec name
-
setOwnerName
void setOwnerName(java.lang.String ownerName)
Set the owner's name for this stream. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
ownerName
- new owner's name
-
setUpdated
void setUpdated(java.util.Date updated)
Set the last-updated date. This generally has no effect on the associated Perforce server version of this spec.- Parameters:
updated
- new updated date.
-
setAccessed
void setAccessed(java.util.Date accessed)
Set the last-accessed date. This generally has no effect on the associated Perforce server version of this spec.- Parameters:
accessed
- new accessed date.
-
setDescription
void setDescription(java.lang.String description)
Set the stream spec description. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
description
- new description string.
-
setParent
void setParent(java.lang.String parent)
Set the stream parent. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
parent
- new stream parent.
-
setType
void setType(IStreamSummary.Type type)
Set the stream type. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
type
- new stream type.
-
setParentView
void setParentView(IStreamSummary.ParentView parentView)
Set the stream parentView. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
parentView
- new stream parentView.
-
setOptions
void setOptions(IStreamSummary.IOptions options)
Set the stream options. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
options
- new stream options.
-
setFirmerThanParent
void setFirmerThanParent(boolean firmerThanParent)
Set (true/false) the stream is firmer than parent.- Parameters:
firmerThanParent
- if true
-
setChangeFlowsToParent
void setChangeFlowsToParent(boolean changeFlowsToParent)
Set (true/false) the stream's change flows to parent.- Parameters:
changeFlowsToParent
- if true
-
setChangeFlowsFromParent
void setChangeFlowsFromParent(boolean changeFlowsFromParent)
Set (true/false) the stream's change flows from parent.- Parameters:
changeFlowsFromParent
- if true
-
setBaseParent
void setBaseParent(java.lang.String baseParent)
Set the stream base parent. This will not change the associated stream spec on the Perforce server unless you arrange for the update to server.- Parameters:
baseParent
- new stream base parent.
-
isUnloaded
boolean isUnloaded()
Return the "unloaded" status for this stream.- Returns:
- true iff the stream is unloaded.
-
-