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 class
StreamIntegrationStatus.CachedState
Simple 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>
cachedStates
protected boolean
changeFlowsFromParent
protected boolean
changeFlowsToParent
protected boolean
firmerThanParent
protected java.lang.String
fromResult
protected boolean
integFromParent
protected java.lang.String
integFromParentHow
protected boolean
integToParent
protected java.lang.String
integToParentHow
protected java.lang.String
parent
protected IStreamSummary.Type
parentType
protected java.lang.String
stream
protected java.lang.String
toResult
protected IStreamSummary.Type
type
-
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.String
getFromResult()
Get the from result.java.lang.String
getIntegFromParentHow()
Get how the integration from parent was performed.java.lang.String
getIntegToParentHow()
Get how the integration to parent was performed.java.lang.String
getParent()
Get the stream's parent.java.lang.String
getStream()
Get the stream's path in a stream depot.java.lang.String
getToResult()
Get the to result.IStreamSummary.Type
getType()
Get the stream's type.boolean
isChangeFlowsFromParent()
Is change flows from parent.boolean
isChangeFlowsToParent()
Is change flows to parent.boolean
isFirmerThanParent()
Is firmer than parent.boolean
isIntegFromParent()
Is integration from parent.boolean
isIntegToParent()
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:IStreamIntegrationStatus
Get the stream's path in a stream depot.- Specified by:
getStream
in interfaceIStreamIntegrationStatus
- Returns:
- stream
- See Also:
IStreamIntegrationStatus.getStream()
-
getParent
public java.lang.String getParent()
Description copied from interface:IStreamIntegrationStatus
Get the stream's parent.- Specified by:
getParent
in interfaceIStreamIntegrationStatus
- Returns:
- parent
- See Also:
IStreamIntegrationStatus.getParent()
-
getType
public IStreamSummary.Type getType()
Description copied from interface:IStreamIntegrationStatus
Get the stream's type.- Specified by:
getType
in interfaceIStreamIntegrationStatus
- Returns:
- type
- See Also:
IStreamIntegrationStatus.getType()
-
isFirmerThanParent
public boolean isFirmerThanParent()
Description copied from interface:IStreamIntegrationStatus
Is firmer than parent.- Specified by:
isFirmerThanParent
in interfaceIStreamIntegrationStatus
- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isFirmerThanParent()
-
isChangeFlowsToParent
public boolean isChangeFlowsToParent()
Description copied from interface:IStreamIntegrationStatus
Is change flows to parent.- Specified by:
isChangeFlowsToParent
in interfaceIStreamIntegrationStatus
- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isChangeFlowsToParent()
-
isChangeFlowsFromParent
public boolean isChangeFlowsFromParent()
Description copied from interface:IStreamIntegrationStatus
Is change flows from parent.- Specified by:
isChangeFlowsFromParent
in interfaceIStreamIntegrationStatus
- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isChangeFlowsFromParent()
-
isIntegToParent
public boolean isIntegToParent()
Description copied from interface:IStreamIntegrationStatus
Is integration to parent.- Specified by:
isIntegToParent
in interfaceIStreamIntegrationStatus
- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isIntegToParent()
-
getIntegToParentHow
public java.lang.String getIntegToParentHow()
Description copied from interface:IStreamIntegrationStatus
Get how the integration to parent was performed.- Specified by:
getIntegToParentHow
in interfaceIStreamIntegrationStatus
- Returns:
- how
- See Also:
IStreamIntegrationStatus.getIntegToParentHow()
-
getToResult
public java.lang.String getToResult()
Description copied from interface:IStreamIntegrationStatus
Get the to result.- Specified by:
getToResult
in interfaceIStreamIntegrationStatus
- Returns:
- to result
- See Also:
IStreamIntegrationStatus.getToResult()
-
isIntegFromParent
public boolean isIntegFromParent()
Description copied from interface:IStreamIntegrationStatus
Is integration from parent.- Specified by:
isIntegFromParent
in interfaceIStreamIntegrationStatus
- Returns:
- if true
- See Also:
IStreamIntegrationStatus.isIntegFromParent()
-
getIntegFromParentHow
public java.lang.String getIntegFromParentHow()
Description copied from interface:IStreamIntegrationStatus
Get how the integration from parent was performed.- Specified by:
getIntegFromParentHow
in interfaceIStreamIntegrationStatus
- Returns:
- how
- See Also:
IStreamIntegrationStatus.getIntegFromParentHow()
-
getFromResult
public java.lang.String getFromResult()
Description copied from interface:IStreamIntegrationStatus
Get the from result.- Specified by:
getFromResult
in interfaceIStreamIntegrationStatus
- Returns:
- from result
- See Also:
IStreamIntegrationStatus.getFromResult()
-
getCachedStates
public java.util.List<IStreamIntegrationStatus.ICachedState> getCachedStates()
Description copied from interface:IStreamIntegrationStatus
Get the cached states- Specified by:
getCachedStates
in interfaceIStreamIntegrationStatus
- Returns:
- list of cached states
- See Also:
IStreamIntegrationStatus.getCachedStates()
-
-