Class JobStateResponse

java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.JobStateResponse

public class JobStateResponse extends Object
The state of a job.
Author:
Donal Fellows
  • Field Details

    • keepaliveRef

      public final URI keepaliveRef
      Where the keepalives go.
    • machineRef

      public final URI machineRef
      Where the machine details are.
    • powerRef

      public final URI powerRef
      Where the power controls are.
    • chipRef

      public final URI chipRef
      Where the chip info is.
    • proxyRef

      public final URI proxyRef
      How to connect to the proxy. Proxy is its own special protocol.
    • originalRequest

      public final CreateJobRequest originalRequest
      The original request that created the job. Or at least the non-ignored parts of it.
  • Constructor Details

    • JobStateResponse

      public JobStateResponse()
      Make an instance without any references to other resources.
  • Method Details

    • getState

      public JobState getState()
      Returns:
      The formal state of the job
    • getStartTime

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

      public String getReason()
      Returns:
      The reason the job was destroyed.
    • getKeepaliveHost

      public String getKeepaliveHost()
      Returns:
      What host (if any) is keeping the job alive?
    • getOwner

      public String getOwner()
      Returns:
      Who created the job?
    • getFinishTime

      public Instant getFinishTime()
      Returns:
      When the job finished.
    • getKeepAliveTime

      public Instant getKeepAliveTime()
      Returns:
      When the job last had a keep-alive message.