Class JobDoneCompat
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.rest.JobDoneCompat
A Job where only the parts required for completion are set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Get the id.Get the outputData.Get the provenance.Get the status.Get the timestampCompletion.voidsetId(int id) Set the id.voidsetOutputData(List<DataItem> outputData) Sets the outputData.voidsetProvenance(ObjectNode provenance) Sets the provenance.voidSet the status.voidsetTimestampCompletion(DateTime timestampCompletion) Sets the timestampCompletion.
-
Constructor Details
-
JobDoneCompat
Create a job with only a status.- Parameters:
id- The job id.status- The status to set.
-
-
Method Details
-
getStatus
Get the status.- Returns:
- The status
-
setStatus
Set the status.- Parameters:
status- The status to set
-
getTimestampCompletion
Get the timestampCompletion.- Returns:
- the timestampCompletion
-
setTimestampCompletion
Sets the timestampCompletion.- Parameters:
timestampCompletion- the timestampCompletion to set
-
getOutputData
Get the outputData.- Returns:
- the outputData
-
setOutputData
Sets the outputData.- Parameters:
outputData- the outputData to set
-
getProvenance
Get the provenance.- Returns:
- the provenance
-
setProvenance
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
-