Class StreamIntegrationStatus.CachedState
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.StreamIntegrationStatus.CachedState
-
- All Implemented Interfaces:
IStreamIntegrationStatus.ICachedState
- Enclosing class:
- StreamIntegrationStatus
public static class StreamIntegrationStatus.CachedState extends java.lang.Object implements IStreamIntegrationStatus.ICachedState
Simple default generic ICachedState implementation class.
-
-
Constructor Summary
Constructors Constructor Description CachedState(int change, int parentChange, int copyParent, int mergeParent, int mergeHighVal, int branchHash, int status)
Explicit-value all-fields constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
Constructor Detail
-
CachedState
public CachedState(int change, int parentChange, int copyParent, int mergeParent, int mergeHighVal, int branchHash, int status)
Explicit-value all-fields constructor.- Parameters:
change
- changeparentChange
- parentChangecopyParent
- copyParentmergeParent
- mergeParentmergeHighVal
- mergeHighValbranchHash
- branchHashstatus
- status
-
-
Method Detail
-
getChange
public int getChange()
Description copied from interface:IStreamIntegrationStatus.ICachedState
Get the changelist.- Specified by:
getChange
in interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- change
- See Also:
IStreamIntegrationStatus.ICachedState.getChange()
-
getParentChange
public int getParentChange()
Description copied from interface:IStreamIntegrationStatus.ICachedState
Get the parent changelist.- Specified by:
getParentChange
in interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- parent change
- See Also:
IStreamIntegrationStatus.ICachedState.getParentChange()
-
getCopyParent
public int getCopyParent()
Description copied from interface:IStreamIntegrationStatus.ICachedState
Get the copy parent changelist.- Specified by:
getCopyParent
in interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- copy parent
- See Also:
IStreamIntegrationStatus.ICachedState.getCopyParent()
-
getMergeParent
public int getMergeParent()
Description copied from interface:IStreamIntegrationStatus.ICachedState
Get the merge parent changelist.- Specified by:
getMergeParent
in interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- merge parent
- 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 interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- merge high value
- See Also:
IStreamIntegrationStatus.ICachedState.getMergeHighVal()
-
getBranchHash
public int getBranchHash()
Description copied from interface:IStreamIntegrationStatus.ICachedState
Get the branch hash.- Specified by:
getBranchHash
in interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- branch hash
- See Also:
IStreamIntegrationStatus.ICachedState.getBranchHash()
-
getStatus
public int getStatus()
Description copied from interface:IStreamIntegrationStatus.ICachedState
Get the status- Specified by:
getStatus
in interfaceIStreamIntegrationStatus.ICachedState
- Returns:
- status
- See Also:
IStreamIntegrationStatus.ICachedState.getStatus()
-
-