Class DestroyJobCommand
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Command<Integer>
uk.ac.manchester.spinnaker.spalloc.messages.DestroyJobCommand
public class DestroyJobCommand extends Command<Integer>
Request to destroy a job.
- See Also:
- Spalloc Server documentation
-
Constructor Summary
Constructors Constructor Description DestroyJobCommand(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.
-