Class Command<A>
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.commands.Command<A>
- Type Parameters:
A- The type of arguments.
- Direct Known Subclasses:
CreateJobCommand, DestroyJobCommand, GetJobMachineInfoCommand, GetJobStateCommand, JobKeepAliveCommand, ListMachinesCommand, NoNotifyJobCommand, NotifyJobCommand, PowerOffJobBoardsCommand, PowerOnJobBoardsCommand, WhereIsCommand
A serialisable request to spalloc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidAdd to the positional arguments part.protected final voidAdd to the keyword arguments part.getArgs()Get the command arguments.Get the command name.Get the command keyword arguments.
-
Constructor Details
-
Command
-
-
Method Details
-
addKwArg
-
addArg
Add to the positional arguments part.- Parameters:
values- The arguments to add.
-
getCommand
-
getArgs
-
getKwargs
-