Class JobDoneCompat

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

public class JobDoneCompat
extends Object
A Job where only the parts required for completion are set.
  • Constructor Details

    • JobDoneCompat

      public JobDoneCompat​(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
    • getTimestampCompletion

      public DateTime getTimestampCompletion()
      Get the timestampCompletion.
      Returns:
      the timestampCompletion
    • setTimestampCompletion

      public void setTimestampCompletion​(DateTime timestampCompletion)
      Sets the timestampCompletion.
      Parameters:
      timestampCompletion - the timestampCompletion to set
    • getOutputData

      public List<DataItem> getOutputData()
      Get the outputData.
      Returns:
      the outputData
    • setOutputData

      public void setOutputData​(List<DataItem> outputData)
      Sets the outputData.
      Parameters:
      outputData - the outputData to set
    • getProvenance

      public ObjectNode getProvenance()
      Get the provenance.
      Returns:
      the provenance
    • setProvenance

      public void setProvenance​(ObjectNode provenance)
      Sets the provenance.
      Parameters:
      provenance - the provenance 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