Class StatDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.StatDelegator
- All Implemented Interfaces:
IStatDelegator
Implemetation for 'p4 stat'.
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStreamIntegrationStatus(String stream, StreamIntegrationStatusOptions opts) Get a stream's cached integration status with respect to its parent.
-
Constructor Details
-
StatDelegator
Instantiates a new stat delegator.- Parameters:
server- the server
-
-
Method Details
-
getStreamIntegrationStatus
public IStreamIntegrationStatus getStreamIntegrationStatus(String stream, StreamIntegrationStatusOptions opts) throws P4JavaException Description copied from interface:IStatDelegatorGet a stream's cached integration status with respect to its parent. If the cache is stale, either because newer changes have been submitted or the stream's branch view has changed, 'p4 istat' checks for pending integrations and updates the cache before showing status.Pending integrations are shown only if they are expected by the stream; that is, only if they are warranted by the stream's type and its fromParent/toParent flow options. (See 'p4 help stream'.)
- Specified by:
getStreamIntegrationStatusin interfaceIStatDelegator- Parameters:
stream- the stream's path in a stream depot, of the form //depotname/streamname.opts- StreamIntegrationStatusOptions object describing optional parameters; if null, no options are set.- Returns:
- potentially-null IStreamIntegrationStatus object representing the stream's cached integration status with respect to its parent.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.
-