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

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

public static class StreamIntegrationStatus.CachedState
extends Object
implements IStreamIntegrationStatus.ICachedState

Simple default generic ICachedState implementation class.


Constructor Summary
StreamIntegrationStatus.CachedState(int change, int parentChange, int copyParent, int mergeParent, int mergeHighVal, int branchHash, int status)
          Explicit-value all-fields constructor.
 
Method Summary
 int getBranchHash()
          Get the branch hash.
 int getChange()
          Get the changelist.
 int getCopyParent()
          Get the copy parent changelist.
 int getMergeHighVal()
          Get the merge high value changelist.
 int getMergeParent()
          Get the merge parent changelist.
 int getParentChange()
          Get the parent changelist.
 int getStatus()
          Get the status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamIntegrationStatus.CachedState

public StreamIntegrationStatus.CachedState(int change,
                                           int parentChange,
                                           int copyParent,
                                           int mergeParent,
                                           int mergeHighVal,
                                           int branchHash,
                                           int status)
Explicit-value all-fields constructor.

Method Detail

getChange

public int getChange()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the changelist.

Specified by:
getChange in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getChange()

getParentChange

public int getParentChange()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the parent changelist.

Specified by:
getParentChange in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getParentChange()

getCopyParent

public int getCopyParent()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the copy parent changelist.

Specified by:
getCopyParent in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getCopyParent()

getMergeParent

public int getMergeParent()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the merge parent changelist.

Specified by:
getMergeParent in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getMergeParent()

getMergeHighVal

public int getMergeHighVal()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the merge high value changelist.

Specified by:
getMergeHighVal in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getMergeHighVal()

getBranchHash

public int getBranchHash()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the branch hash.

Specified by:
getBranchHash in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getBranchHash()

getStatus

public int getStatus()
Description copied from interface: IStreamIntegrationStatus.ICachedState
Get the status

Specified by:
getStatus in interface IStreamIntegrationStatus.ICachedState
See Also:
IStreamIntegrationStatus.ICachedState.getStatus()


Copyright © 2015 Perforce Software. All Rights Reserved.