public interface FinishedJobProjection extends BaseProjection
Modifier and Type | Method and Description |
---|---|
java.util.List<ApplicationEntity> |
getApplications()
Get the applications used to run this job.
|
java.util.Optional<java.lang.String> |
getArchiveLocation()
Get the location where the job was archived.
|
java.util.Optional<ClusterEntity> |
getCluster()
Get the cluster that ran or is currently running a given job.
|
java.util.List<CriterionEntity> |
getClusterCriteria()
Get all the cluster criteria.
|
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.
|
CriterionEntity |
getCommandCriterion()
Get the command criterion for this job.
|
java.util.Optional<java.lang.Integer> |
getExitCode()
Get the exit code from the process that ran the job.
|
java.util.Optional<java.time.Instant> |
getFinished()
Get when the job was finished.
|
java.util.Optional<java.lang.String> |
getGrouping()
Get the grouping this job is a part of.
|
java.util.Optional<java.lang.String> |
getGroupingInstance()
Get the instance identifier of a grouping.
|
java.util.Optional<java.lang.Integer> |
getMemoryUsed()
Get the amount of memory (in MB) that this job is/was run with.
|
java.util.Optional<java.lang.String> |
getMetadata()
Get the metadata of this entity which is unstructured JSON.
|
java.util.Optional<java.lang.Integer> |
getNumAttachments()
Get the number of attachments.
|
java.util.Optional<java.lang.String> |
getRequestAgentClientHostname()
Get the hostname of the agent that requested this job be run if there was one.
|
java.util.Optional<java.lang.String> |
getRequestAgentClientVersion()
Get the version of the agent that requested this job be run if there was one.
|
java.util.Optional<java.lang.String> |
getRequestApiClientHostname()
Get the request api client hostname.
|
java.util.Optional<java.lang.String> |
getRequestApiClientUserAgent()
Get the user agent.
|
java.util.Optional<java.lang.Integer> |
getRequestedMemory()
Get the memory requested to run this job with.
|
java.util.Optional<java.time.Instant> |
getStarted()
Get when the job was started.
|
JobStatus |
getStatus()
Get the job status.
|
java.util.Optional<java.lang.String> |
getStatusMsg()
Get the current status message of the job.
|
java.util.Set<TagEntity> |
getTags()
Get the tags for the job.
|
getDescription, getName, getUser, getVersion
getUniqueId
getCreated, getUpdated
getId
java.util.Set<TagEntity> getTags()
java.util.Optional<java.lang.String> getGrouping()
java.util.Optional<java.lang.String> getGroupingInstance()
java.util.Optional<java.lang.String> getStatusMsg()
java.util.Optional<java.time.Instant> getStarted()
java.util.Optional<java.time.Instant> getFinished()
JobStatus getStatus()
java.util.Optional<java.lang.String> getMetadata()
getMetadata
in interface BaseProjection
java.util.List<java.lang.String> getCommandArgs()
java.util.Optional<java.lang.Integer> getRequestedMemory()
java.util.Optional<java.lang.String> getRequestApiClientHostname()
Optional
of the client hostjava.util.Optional<java.lang.String> getRequestApiClientUserAgent()
Optional
of the user agentjava.util.Optional<java.lang.Integer> getNumAttachments()
Optional
java.util.Optional<java.lang.String> getRequestAgentClientHostname()
Optional
java.util.Optional<java.lang.String> getRequestAgentClientVersion()
Optional
java.util.Optional<java.lang.Integer> getExitCode()
java.util.Optional<java.lang.String> getArchiveLocation()
java.util.Optional<java.lang.Integer> getMemoryUsed()
Optional
as it could be nulljava.util.List<CriterionEntity> getClusterCriteria()
CriterionEntity getCommandCriterion()
java.util.List<ApplicationEntity> getApplications()
java.util.Optional<ClusterEntity> getCluster()
java.util.Optional<CommandEntity> getCommand()