Class CreateJobCommand
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Command<Integer>
uk.ac.manchester.spinnaker.spalloc.messages.CreateJobCommand
Request to create a job.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreateJobCommand(int numBoards, String owner) Create a request to create a job.Create a request to create a job. -
Method Summary
-
Constructor Details
-
CreateJobCommand
Create a request to create a job. Short-hand form for most basic kind of request.- Parameters:
numBoards- The number of boards to request.owner- The owner of the job to create.
-
CreateJobCommand
Create a request to create a job.- Parameters:
args- The arguments, describing default (empty), the number of boards (one arg), the triad size (two args) or the board location (three args).kwargs- Additional arguments required. Must include the keyowner. Values can be boxed primitive types or strings.- Throws:
IllegalArgumentException- if theownerkey is missing
-