Class JobStatusOnlyCompat

java.lang.Object
uk.ac.manchester.spinnaker.nmpi.rest.JobStatusOnlyCompat

public class JobStatusOnlyCompat
extends Object
A Job where only the status is set (to allow log updates).
  • Constructor Details

    • JobStatusOnlyCompat

      public JobStatusOnlyCompat​(int id, String status)
      Create a job with only a status.
      Parameters:
      id - The job id.
      status - The status to set.
  • Method Details

    • getStatus

      public String getStatus()
      Get the status.
      Returns:
      The status
    • setStatus

      public void setStatus​(String status)
      Set the status.
      Parameters:
      status - The status to set
    • getId

      public int getId()
      Get the id.
      Returns:
      The id
    • setId

      public void setId​(int id)
      Set the id.
      Parameters:
      id - The id