Class StateCommandRequest
java.lang.Object
za.co.wethinkcode.robots.client.commands.ClientCommandRequest
za.co.wethinkcode.robots.client.commands.StateCommandRequest
Class for requesting a state command be executed
-
Field Summary
Fields inherited from class za.co.wethinkcode.robots.client.commands.ClientCommandRequest
arguments, command -
Constructor Summary
ConstructorsConstructorDescriptionEmpty Constructor for reflectionStateCommandRequest(String robotName, String[] args) StateCommandRequest(String robotName, ImplementedClientCommands command, String[] arguments) Standard constructor for a Client Requesting that a command be executed -
Method Summary
Modifier and TypeMethodDescriptionString[]Getter for arguments as a stringAbstract method for childClasses to define their expected argument syntaxMethods inherited from class za.co.wethinkcode.robots.client.commands.ClientCommandRequest
getCommand, getRobotName
-
Constructor Details
-
StateCommandRequest
public StateCommandRequest()Empty Constructor for reflection -
StateCommandRequest
-
-
Method Details
-
getArguments
Description copied from class:ClientCommandRequestGetter for arguments as a string- Overrides:
getArgumentsin classClientCommandRequest- Returns:
- the arguments passed into this request
-
getArgumentsMap
Description copied from class:ClientCommandRequestAbstract method for childClasses to define their expected argument syntax- Specified by:
getArgumentsMapin classClientCommandRequest- Returns:
- Map of Strings corresponding to the type of argument and a value corresponding to its type.
-