Class StreamIntegrationStatus
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.StreamIntegrationStatus
-
- All Implemented Interfaces:
IStreamIntegrationStatus
public class StreamIntegrationStatus extends java.lang.Object implements IStreamIntegrationStatus
Default implementation class for the IStreamIntegrationStatus interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamIntegrationStatus.CachedStateSimple default generic ICachedState implementation class.-
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IStreamIntegrationStatus
IStreamIntegrationStatus.ICachedState
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IStreamIntegrationStatus.ICachedState>cachedStatesprotected booleanchangeFlowsFromParentprotected booleanchangeFlowsToParentprotected booleanfirmerThanParentprotected java.lang.StringfromResultprotected booleanintegFromParentprotected java.lang.StringintegFromParentHowprotected booleanintegToParentprotected java.lang.StringintegToParentHowprotected java.lang.Stringparentprotected IStreamSummary.TypeparentTypeprotected java.lang.Stringstreamprotected java.lang.StringtoResultprotected IStreamSummary.Typetype
-
Constructor Summary
Constructors Constructor Description StreamIntegrationStatus(java.lang.String stream, java.lang.String parent, IStreamSummary.Type type, IStreamSummary.Type parentType, boolean firmerThanParent, boolean changeFlowsToParent, boolean changeFlowsFromParent, boolean integToParent, java.lang.String integToParentHow, java.lang.String toResult, boolean integFromParent, java.lang.String integFromParentHow, java.lang.String fromResult, java.util.List<IStreamIntegrationStatus.ICachedState> cachedStates)Explicit-value all-fields constructor.StreamIntegrationStatus(java.util.Map<java.lang.String,java.lang.Object> map)Constructor for use with maps passed back from the Perforce server only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IStreamIntegrationStatus.ICachedState>getCachedStates()Get the cached statesjava.lang.StringgetFromResult()Get the from result.java.lang.StringgetIntegFromParentHow()Get how the integration from parent was performed.java.lang.StringgetIntegToParentHow()Get how the integration to parent was performed.java.lang.StringgetParent()Get the stream's parent.java.lang.StringgetStream()Get the stream's path in a stream depot.java.lang.StringgetToResult()Get the to result.IStreamSummary.TypegetType()Get the stream's type.booleanisChangeFlowsFromParent()Is change flows from parent.booleanisChangeFlowsToParent()Is change flows to parent.booleanisFirmerThanParent()Is firmer than parent.booleanisIntegFromParent()Is integration from parent.booleanisIntegToParent()Is integration to parent.
-
-
-
Field Detail
-
stream
protected java.lang.String stream
-
parent
protected java.lang.String parent
-
type
protected IStreamSummary.Type type
-
parentType
protected IStreamSummary.Type parentType
-
firmerThanParent
protected boolean firmerThanParent
-
changeFlowsToParent
protected boolean changeFlowsToParent
-
changeFlowsFromParent
protected boolean changeFlowsFromParent
-
integToParent
protected boolean integToParent
-
integToParentHow
protected java.lang.String integToParentHow
-
toResult
protected java.lang.String toResult
-
integFromParent
protected boolean integFromParent
-
integFromParentHow
protected java.lang.String integFromParentHow
-
fromResult
protected java.lang.String fromResult
-
cachedStates
protected java.util.List<IStreamIntegrationStatus.ICachedState> cachedStates
-
-
Constructor Detail
-
StreamIntegrationStatus
public StreamIntegrationStatus(java.lang.String stream, java.lang.String parent, IStreamSummary.Type type, IStreamSummary.Type parentType, boolean firmerThanParent, boolean changeFlowsToParent, boolean changeFlowsFromParent, boolean integToParent, java.lang.String integToParentHow, java.lang.String toResult, boolean integFromParent, java.lang.String integFromParentHow, java.lang.String fromResult, java.util.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
public StreamIntegrationStatus(java.util.Map<java.lang.String,java.lang.Object> map)
Constructor for use with maps passed back from the Perforce server only.- Parameters:
map- spec map
-
-
Method Detail
-
getStream
public java.lang.String getStream()
Description copied from interface:IStreamIntegrationStatusGet the stream's path in a stream depot.- Specified by:
getStreamin interfaceIStreamIntegrationStatus- Returns:
- stream
- See Also:
IStreamIntegrationStatus.getStream()
-
getParent
public java.lang.String getParent()
Description copied from interface:IStreamIntegrationStatusGet the stream's parent.- Specified by:
getParentin interfaceIStreamIntegrationStatus- Returns:
- parent
- See Also:
IStreamIntegrationStatus.getParent()
-
getType
public IStreamSummary.Type getType()
Description copied from interface:IStreamIntegrationStatusGet the stream's type.- Specified by:
getTypein interfaceIStreamIntegrationStatus- Returns:
- type
- See Also:
IStreamIntegrationStatus.getType()
-
isFirmerThanParent
public boolean isFirmerThanParent()
Description copied from interface:IStreamIntegrationStatusIs firmer than parent.- Specified by:
isFirmerThanParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isFirmerThanParent()
-
isChangeFlowsToParent
public boolean isChangeFlowsToParent()
Description copied from interface:IStreamIntegrationStatusIs change flows to parent.- Specified by:
isChangeFlowsToParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isChangeFlowsToParent()
-
isChangeFlowsFromParent
public boolean isChangeFlowsFromParent()
Description copied from interface:IStreamIntegrationStatusIs change flows from parent.- Specified by:
isChangeFlowsFromParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isChangeFlowsFromParent()
-
isIntegToParent
public boolean isIntegToParent()
Description copied from interface:IStreamIntegrationStatusIs integration to parent.- Specified by:
isIntegToParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isIntegToParent()
-
getIntegToParentHow
public java.lang.String getIntegToParentHow()
Description copied from interface:IStreamIntegrationStatusGet how the integration to parent was performed.- Specified by:
getIntegToParentHowin interfaceIStreamIntegrationStatus- Returns:
- how
- See Also:
IStreamIntegrationStatus.getIntegToParentHow()
-
getToResult
public java.lang.String getToResult()
Description copied from interface:IStreamIntegrationStatusGet the to result.- Specified by:
getToResultin interfaceIStreamIntegrationStatus- Returns:
- to result
- See Also:
IStreamIntegrationStatus.getToResult()
-
isIntegFromParent
public boolean isIntegFromParent()
Description copied from interface:IStreamIntegrationStatusIs integration from parent.- Specified by:
isIntegFromParentin interfaceIStreamIntegrationStatus- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isIntegFromParent()
-
getIntegFromParentHow
public java.lang.String getIntegFromParentHow()
Description copied from interface:IStreamIntegrationStatusGet how the integration from parent was performed.- Specified by:
getIntegFromParentHowin interfaceIStreamIntegrationStatus- Returns:
- how
- See Also:
IStreamIntegrationStatus.getIntegFromParentHow()
-
getFromResult
public java.lang.String getFromResult()
Description copied from interface:IStreamIntegrationStatusGet the from result.- Specified by:
getFromResultin interfaceIStreamIntegrationStatus- Returns:
- from result
- See Also:
IStreamIntegrationStatus.getFromResult()
-
getCachedStates
public java.util.List<IStreamIntegrationStatus.ICachedState> getCachedStates()
Description copied from interface:IStreamIntegrationStatusGet the cached states- Specified by:
getCachedStatesin interfaceIStreamIntegrationStatus- Returns:
- list of cached states
- See Also:
IStreamIntegrationStatus.getCachedStates()
-
-