com.perforce.p4java.impl.generic.core
Class StreamIntegrationStatus

java.lang.Object
  extended by com.perforce.p4java.impl.generic.core.StreamIntegrationStatus
All Implemented Interfaces:
IStreamIntegrationStatus

public class StreamIntegrationStatus
extends Object
implements IStreamIntegrationStatus

Default implementation class for the IStreamIntegrationStatus interface.


Nested Class Summary
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
protected  List<IStreamIntegrationStatus.ICachedState> cachedStates
           
protected  boolean changeFlowsFromParent
           
protected  boolean changeFlowsToParent
           
protected  boolean firmerThanParent
           
protected  String fromResult
           
protected  boolean integFromParent
           
protected  String integFromParentHow
           
protected  boolean integToParent
           
protected  String integToParentHow
           
protected  String parent
           
protected  IStreamSummary.Type parentType
           
protected  String stream
           
protected  String toResult
           
protected  IStreamSummary.Type type
           
 
Constructor Summary
StreamIntegrationStatus(Map<String,Object> map)
          Constructor for use with maps passed back from the Perforce server only.
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.
 
Method Summary
 List<IStreamIntegrationStatus.ICachedState> getCachedStates()
          Get the cached states
 String getFromResult()
          Get the from result.
 String getIntegFromParentHow()
          Get how the integration from parent was performed.
 String getIntegToParentHow()
          Get how the integration to parent was performed.
 String getParent()
          Get the stream's parent.
 String getStream()
          Get the stream's path in a stream depot.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

protected String stream

parent

protected 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 String integToParentHow

toResult

protected String toResult

integFromParent

protected boolean integFromParent

integFromParentHow

protected String integFromParentHow

fromResult

protected String fromResult

cachedStates

protected List<IStreamIntegrationStatus.ICachedState> cachedStates
Constructor Detail

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.


StreamIntegrationStatus

public StreamIntegrationStatus(Map<String,Object> map)
Constructor for use with maps passed back from the Perforce server only.

Method Detail

getStream

public String getStream()
Description copied from interface: IStreamIntegrationStatus
Get the stream's path in a stream depot.

Specified by:
getStream in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getStream()

getParent

public String getParent()
Description copied from interface: IStreamIntegrationStatus
Get the stream's parent.

Specified by:
getParent in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getParent()

getType

public IStreamSummary.Type getType()
Description copied from interface: IStreamIntegrationStatus
Get the stream's type.

Specified by:
getType in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getType()

isFirmerThanParent

public boolean isFirmerThanParent()
Description copied from interface: IStreamIntegrationStatus
Is firmer than parent.

Specified by:
isFirmerThanParent in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.isFirmerThanParent()

isChangeFlowsToParent

public boolean isChangeFlowsToParent()
Description copied from interface: IStreamIntegrationStatus
Is change flows to parent.

Specified by:
isChangeFlowsToParent in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.isChangeFlowsToParent()

isChangeFlowsFromParent

public boolean isChangeFlowsFromParent()
Description copied from interface: IStreamIntegrationStatus
Is change flows from parent.

Specified by:
isChangeFlowsFromParent in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.isChangeFlowsFromParent()

isIntegToParent

public boolean isIntegToParent()
Description copied from interface: IStreamIntegrationStatus
Is integration to parent.

Specified by:
isIntegToParent in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.isIntegToParent()

getIntegToParentHow

public String getIntegToParentHow()
Description copied from interface: IStreamIntegrationStatus
Get how the integration to parent was performed.

Specified by:
getIntegToParentHow in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getIntegToParentHow()

getToResult

public String getToResult()
Description copied from interface: IStreamIntegrationStatus
Get the to result.

Specified by:
getToResult in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getToResult()

isIntegFromParent

public boolean isIntegFromParent()
Description copied from interface: IStreamIntegrationStatus
Is integration from parent.

Specified by:
isIntegFromParent in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.isIntegFromParent()

getIntegFromParentHow

public String getIntegFromParentHow()
Description copied from interface: IStreamIntegrationStatus
Get how the integration from parent was performed.

Specified by:
getIntegFromParentHow in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getIntegFromParentHow()

getFromResult

public String getFromResult()
Description copied from interface: IStreamIntegrationStatus
Get the from result.

Specified by:
getFromResult in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getFromResult()

getCachedStates

public List<IStreamIntegrationStatus.ICachedState> getCachedStates()
Description copied from interface: IStreamIntegrationStatus
Get the cached states

Specified by:
getCachedStates in interface IStreamIntegrationStatus
See Also:
IStreamIntegrationStatus.getCachedStates()


Copyright © 2015 Perforce Software. All Rights Reserved.