Class JobDescription

java.lang.Object
uk.ac.manchester.spinnaker.alloc.client.JobDescription

@Immutable
public final class JobDescription
extends Object
Describes a job. This includes the state that the job is in and the keep-alive configuration.
  • Method Details

    • getState

      public State getState()
      Returns:
      The state of the job.
    • getOwner

      public String getOwner()
      Returns:
      Who owns the job. null if the information is shrouded from you.
    • getStartTime

      public Instant getStartTime()
      Returns:
      When the job started.
    • getFinishTime

      public Instant getFinishTime()
      Returns:
      When the job was destroyed. null if not yet finished.
    • getReason

      public String getReason()
      Returns:
      Why the job was destroyed. null if the job is alive.
    • getKeepaliveHost

      public String getKeepaliveHost()
      Returns:
      Which host is believed to be keeping a job alive. May be null if the information is not known or shrouded from you.
    • getKeepaliveTime

      public Instant getKeepaliveTime()
      Returns:
      The most recent keepalive timestamp.
    • getProxyAddress

      public URI getProxyAddress()
      Returns:
      The URL for connecting to the job's websocket-based proxy.