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
public class JobSpecDelegator extends BaseDelegator implements 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
Constructors Constructor Description JobSpecDelegator(IOptionsServer server)Instantiates a new job spec delegator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IJobSpecgetJobSpec()Return the Perforce jobspec associated with this Perforce server.
-
-
-
Constructor Detail
-
JobSpecDelegator
public JobSpecDelegator(IOptionsServer server)
Instantiates a new job spec delegator.- Parameters:
server- the server
-
-
Method Detail
-
getJobSpec
public IJobSpec getJobSpec() throws ConnectionException, RequestException, AccessException
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
-
-