Interface IJobSpecDelegator
-
- All Known Subinterfaces:
IOptionsServer,IServer,IStreamingServer
- All Known Implementing Classes:
JobSpecDelegator,NtsServerImpl,OneShotServerImpl,RpcServer,Server
public interface IJobSpecDelegatorInterface for jobspec commands.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IJobSpecgetJobSpec()Return the Perforce jobspec associated with this Perforce server.
-
-
-
Method Detail
-
getJobSpec
IJobSpec getJobSpec() throws ConnectionException, RequestException, AccessException
Return the Perforce jobspec associated with this Perforce server.- 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
-
-