Class StreamIntegrationStatus
java.lang.Object
com.perforce.p4java.impl.generic.core.StreamIntegrationStatus
- All Implemented Interfaces:
IStreamIntegrationStatus
Default implementation class for the IStreamIntegrationStatus interface.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSimple default generic ICachedState implementation class.Nested classes/interfaces inherited from interface com.perforce.p4java.core.IStreamIntegrationStatus
IStreamIntegrationStatus.ICachedState -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<IStreamIntegrationStatus.ICachedState>protected booleanprotected booleanprotected booleanprotected Stringprotected booleanprotected Stringprotected booleanprotected Stringprotected Stringprotected IStreamSummary.Typeprotected Stringprotected Stringprotected IStreamSummary.Type -
Constructor Summary
ConstructorsConstructorDescriptionStreamIntegrationStatus(String stream, String parent, IStreamSummary.Type type, IStreamSummary.Type parentType, boolean firmerThanParent, boolean changeFlowsToParent, boolean changeFlowsFromParent, boolean integToParent, String integToParentHow, String toResult, boolean integFromParent, String integFromParentHow, String fromResult, List<IStreamIntegrationStatus.ICachedState> cachedStates) Explicit-value all-fields constructor.Constructor for use with maps passed back from the Perforce server only. -
Method Summary
Modifier and TypeMethodDescriptionGet the cached statesGet the from result.Get how the integration from parent was performed.Get how the integration to parent was performed.Get the stream's parent.Get the stream's path in a stream depot.Get the to result.getType()Get the stream's type.booleanIs change flows from parent.booleanIs change flows to parent.booleanIs firmer than parent.booleanIs integration from parent.booleanIs integration to parent.
-
Field Details
-
stream
-
parent
-
type
-
parentType
-
firmerThanParent
protected boolean firmerThanParent -
changeFlowsToParent
protected boolean changeFlowsToParent -
changeFlowsFromParent
protected boolean changeFlowsFromParent -
integToParent
protected boolean integToParent -
integToParentHow
-
toResult
-
integFromParent
protected boolean integFromParent -
integFromParentHow
-
fromResult
-
cachedStates
-
-
Constructor Details
-
StreamIntegrationStatus
public StreamIntegrationStatus(String stream, String parent, IStreamSummary.Type type, IStreamSummary.Type parentType, boolean firmerThanParent, boolean changeFlowsToParent, boolean changeFlowsFromParent, boolean integToParent, String integToParentHow, String toResult, boolean integFromParent, String integFromParentHow, String fromResult, List<IStreamIntegrationStatus.ICachedState> cachedStates) Explicit-value all-fields constructor.- Parameters:
stream- streamparent- parenttype- typeparentType- parentTypefirmerThanParent- firmerThanParentchangeFlowsToParent- changeFlowsToParentchangeFlowsFromParent- changeFlowsFromParentintegToParent- integToParentintegToParentHow- integToParentHowtoResult- toResultintegFromParent- integFromParentintegFromParentHow- integFromParentHowfromResult- fromResultcachedStates- cachedStates
-
StreamIntegrationStatus
Constructor for use with maps passed back from the Perforce server only.- Parameters:
map- spec map
-
-
Method Details
-
getStream
Description copied from interface:IStreamIntegrationStatusGet the stream's path in a stream depot.- Specified by:
getStreamin interfaceIStreamIntegrationStatus- Returns:
- stream
- See Also:
-
getParent
Description copied from interface:IStreamIntegrationStatusGet the stream's parent.- Specified by:
getParentin interfaceIStreamIntegrationStatus- Returns:
- parent
- See Also:
-
getType
Description copied from interface:IStreamIntegrationStatusGet the stream's type.- Specified by:
getTypein interfaceIStreamIntegrationStatus- Returns:
- type
- See Also:
-
isFirmerThanParent
public boolean isFirmerThanParent()Description copied from interface:IStreamIntegrationStatusIs firmer than parent.- Specified by:
isFirmerThanParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
-
isChangeFlowsToParent
public boolean isChangeFlowsToParent()Description copied from interface:IStreamIntegrationStatusIs change flows to parent.- Specified by:
isChangeFlowsToParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
-
isChangeFlowsFromParent
public boolean isChangeFlowsFromParent()Description copied from interface:IStreamIntegrationStatusIs change flows from parent.- Specified by:
isChangeFlowsFromParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
-
isIntegToParent
public boolean isIntegToParent()Description copied from interface:IStreamIntegrationStatusIs integration to parent.- Specified by:
isIntegToParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
-
getIntegToParentHow
Description copied from interface:IStreamIntegrationStatusGet how the integration to parent was performed.- Specified by:
getIntegToParentHowin interfaceIStreamIntegrationStatus- Returns:
- how
- See Also:
-
getToResult
Description copied from interface:IStreamIntegrationStatusGet the to result.- Specified by:
getToResultin interfaceIStreamIntegrationStatus- Returns:
- to result
- See Also:
-
isIntegFromParent
public boolean isIntegFromParent()Description copied from interface:IStreamIntegrationStatusIs integration from parent.- Specified by:
isIntegFromParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
-
getIntegFromParentHow
Description copied from interface:IStreamIntegrationStatusGet how the integration from parent was performed.- Specified by:
getIntegFromParentHowin interfaceIStreamIntegrationStatus- Returns:
- how
- See Also:
-
getFromResult
Description copied from interface:IStreamIntegrationStatusGet the from result.- Specified by:
getFromResultin interfaceIStreamIntegrationStatus- Returns:
- from result
- See Also:
-
getCachedStates
Description copied from interface:IStreamIntegrationStatusGet the cached states- Specified by:
getCachedStatesin interfaceIStreamIntegrationStatus- Returns:
- list of cached states
- See Also:
-