public interface JobSpecificationProjection extends UniqueIdProjection, JobArchiveLocationProjection
Modifier and Type | Method and Description |
---|---|
java.util.List<ApplicationEntity> |
getApplications()
Get the applications used to run this job.
|
java.util.Optional<ClusterEntity> |
getCluster()
Get the cluster that ran or is currently running a given job.
|
java.util.Optional<CommandEntity> |
getCommand()
Get the command that ran or is currently running a given job.
|
java.util.List<java.lang.String> |
getCommandArgs()
Get the command arguments the user supplied for this job.
|
java.util.Set<FileEntity> |
getConfigs()
Get all the configuration files for this job.
|
java.util.Set<FileEntity> |
getDependencies()
Get all the dependency files for this job.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironmentVariables()
Get the final set of environment variables sent from the server to the agent for the job.
|
java.util.Optional<java.lang.String> |
getJobDirectoryLocation()
Get the job directory location the agent should use.
|
java.util.Optional<FileEntity> |
getSetupFile()
Get the setup file for this resource.
|
java.util.Optional<java.lang.Integer> |
getTimeoutUsed()
Get the final resolved timeout duration (in seconds) if there was one for this job.
|
boolean |
isInteractive()
Get whether the job was an interactive job or not when launched.
|
boolean |
isResolved()
Get whether the job specification has been resolved yet or not.
|
getUniqueId
getCreated, getUpdated
getId
getArchiveLocation
java.util.Set<FileEntity> getConfigs()
java.util.Set<FileEntity> getDependencies()
java.util.Optional<FileEntity> getSetupFile()
java.util.Optional<java.lang.String> getJobDirectoryLocation()
Optional
java.util.List<java.lang.String> getCommandArgs()
java.util.Optional<ClusterEntity> getCluster()
java.util.Optional<CommandEntity> getCommand()
java.util.List<ApplicationEntity> getApplications()
boolean isInteractive()
java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariables()
boolean isResolved()
java.util.Optional<java.lang.Integer> getTimeoutUsed()
Optional