Class FinishedJob

  • All Implemented Interfaces:
    java.io.Serializable

    public class FinishedJob
    extends CommonMetadata
    DTO for a job that reached a final state.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Method Detail

      • getStarted

        public java.util.Optional<java.time.Instant> getStarted()
        Getter for optional field.
        Returns:
        the job start timestamp, if present
      • getFinished

        public java.util.Optional<java.time.Instant> getFinished()
        Getter for optional field.
        Returns:
        the job completion timestamp, if present
      • getGrouping

        public java.util.Optional<java.lang.String> getGrouping()
        Getter for optional field.
        Returns:
        the job grouping, if present
      • getGroupingInstance

        public java.util.Optional<java.lang.String> getGroupingInstance()
        Getter for optional field.
        Returns:
        the job grouping instance, if present
      • getStatusMessage

        public java.util.Optional<java.lang.String> getStatusMessage()
        Getter for optional field.
        Returns:
        the job final status message, if present
      • getRequestedMemory

        public java.util.Optional<java.lang.Integer> getRequestedMemory()
        Getter for optional field.
        Returns:
        the job requested memory, if present
      • getRequestApiClientHostname

        public java.util.Optional<java.lang.String> getRequestApiClientHostname()
        Getter for optional field.
        Returns:
        the requesting client hostname, if present
      • getRequestApiClientUserAgent

        public java.util.Optional<java.lang.String> getRequestApiClientUserAgent()
        Getter for optional field.
        Returns:
        the requesting client user-agent, if present
      • getRequestAgentClientHostname

        public java.util.Optional<java.lang.String> getRequestAgentClientHostname()
        Getter for optional field.
        Returns:
        the executing agent hostname, if present
      • getRequestAgentClientVersion

        public java.util.Optional<java.lang.String> getRequestAgentClientVersion()
        Getter for optional field.
        Returns:
        the executing agent version, if present
      • getNumAttachments

        public java.util.Optional<java.lang.Integer> getNumAttachments()
        Getter for optional field.
        Returns:
        the number of job attachments, if present
      • getExitCode

        public java.util.Optional<java.lang.Integer> getExitCode()
        Getter for optional field.
        Returns:
        the job process exit code, if present
      • getArchiveLocation

        public java.util.Optional<java.lang.String> getArchiveLocation()
        Getter for optional field.
        Returns:
        the job outputs archive location, if present
      • getMemoryUsed

        public java.util.Optional<java.lang.Integer> getMemoryUsed()
        Getter for optional field.
        Returns:
        the job used memory, if present
      • getCommand

        public java.util.Optional<Command> getCommand()
        Getter for optional field.
        Returns:
        the job resolved command, if present
      • getCluster

        public java.util.Optional<Cluster> getCluster()
        Getter for optional field.
        Returns:
        the job resolved cluster, if present