Class CreateJobCommand
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Command<Integer>
uk.ac.manchester.spinnaker.spalloc.messages.CreateJobCommand
public class CreateJobCommand extends Command<Integer>
Request to create a job.
- See Also:
- Spalloc Server documentation
-
Constructor Summary
Constructors Constructor Description CreateJobCommand(int numBoards, String owner)
Create a request to create a job.CreateJobCommand(List<Integer> args, Map<String,Object> kwargs)
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 theowner
key is missing
-