Class JobDone
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.rest.JobDone
public class JobDone extends Object
A Job where only the parts required for completion are set.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description OutputData
getOutputData()
Get the outputData.ObjectNode
getProvenance()
Get the provenance.String
getStatus()
Get the status.DateTime
getTimestampCompletion()
Get the timestampCompletion.void
setOutputData(OutputData outputData)
Sets the outputData.void
setProvenance(ObjectNode provenance)
Sets the provenance.void
setStatus(String status)
Set the status.void
setTimestampCompletion(DateTime timestampCompletion)
Sets the timestampCompletion.
-
Constructor Details
-
JobDone
Create a job with only a status.- Parameters:
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
-