public class JobSpecDelegator extends BaseDelegator implements IJobSpecDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
JobSpecDelegator(IOptionsServer server)
Instantiates a new job spec delegator.
|
Modifier and Type | Method and Description |
---|---|
IJobSpec |
getJobSpec()
Return the Perforce jobspec associated with this Perforce server.
|
public JobSpecDelegator(IOptionsServer server)
server
- the serverpublic IJobSpec getJobSpec() throws ConnectionException, RequestException, AccessException
IJobSpecDelegator
getJobSpec
in interface IJobSpecDelegator
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