Class JobStatusOnlyCompat
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.rest.JobStatusOnlyCompat
A Job where only the status is set (to allow log updates).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobStatusOnlyCompat
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
-
getId
public int getId()Get the id.- Returns:
- The id
-
setId
public void setId(int id) Set the id.- Parameters:
id
- The id
-