Class JobSpecDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.JobSpecDelegator
- All Implemented Interfaces:
IJobSpecDelegator
Implementation for jobspec commands.
-
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
ConstructorsConstructorDescriptionJobSpecDelegator(IOptionsServer server) Instantiates a new job spec delegator. -
Method Summary
Modifier and TypeMethodDescriptionReturn the Perforce jobspec associated with this Perforce server.
-
Constructor Details
-
JobSpecDelegator
Instantiates a new job spec delegator.- Parameters:
server- the server
-
-
Method Details
-
getJobSpec
Description copied from interface:IJobSpecDelegatorReturn the Perforce jobspec associated with this Perforce server.- Specified by:
getJobSpecin interfaceIJobSpecDelegator- Returns:
- possibly-null IJobSpec representing the underlying Perforce server's jobspec.
- Throws:
ConnectionException- if the Perforce server is unreachable or is not connected.RequestException- if the Perforce server encounters an error during its processing of the requestAccessException- if the Perforce server denies access to the caller
-