Class DestroyJobCommand
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Command<Integer>
uk.ac.manchester.spinnaker.spalloc.messages.DestroyJobCommand
Request to destroy a job.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDestroyJobCommand
(int jobId) Make a request to destroy a job.DestroyJobCommand
(int jobId, String reason) Make a request to destroy a job. -
Method Summary
-
Constructor Details
-
DestroyJobCommand
public DestroyJobCommand(int jobId) Make a request to destroy a job.- Parameters:
jobId
- The ID of the job.
-
DestroyJobCommand
Make a request to destroy a job.- Parameters:
jobId
- The ID of the job.reason
- Why the job is to be destroyed.
-