Class JobMachineAllocated
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.JobMachineAllocated
Indicates whether a machine was allocated for a job.
- 
Constructor SummaryConstructorsConstructorDescriptionEmpty for serialisation.JobMachineAllocated(boolean allocated) Create an instance.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDetermine if the job is allocated.voidsetAllocated(boolean allocated) Set the job allocation status.
- 
Constructor Details- 
JobMachineAllocatedpublic JobMachineAllocated()Empty for serialisation.
- 
JobMachineAllocatedpublic JobMachineAllocated(boolean allocated) Create an instance.- Parameters:
- allocated- Whether the job was allocated.
 
 
- 
- 
Method Details- 
isAllocatedpublic boolean isAllocated()Determine if the job is allocated.- Returns:
- True if allocated
 
- 
setAllocatedpublic void setAllocated(boolean allocated) Set the job allocation status.- Parameters:
- allocated- The allocation status
 
 
-