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 Details

    • DestroyJobCommand

      public DestroyJobCommand​(int jobId)
      Make a request to destroy a job.
      Parameters:
      jobId - The ID of the job.
    • DestroyJobCommand

      public DestroyJobCommand​(int jobId, String reason)
      Make a request to destroy a job.
      Parameters:
      jobId - The ID of the job.
      reason - Why the job is to be destroyed.