public class CliCommand
extends java.lang.Object
CommandType and parameters.| Constructor and Description |
|---|
CliCommand(CommandType cmdType)
Constructor with empty parameters
|
CliCommand(CommandType cmdType,
java.lang.String parameters)
Constructor using both
CommandType and parameters |
| Modifier and Type | Method and Description |
|---|---|
CommandType |
getCommandType()
get the
CommandType of this Command |
java.lang.String |
getFullCommand()
Compose full command (i.e., name + parameters) for this command
|
java.lang.String |
getParameters() |
void |
setParameters(java.lang.String parameters)
Sets the parameters of this command
|
public CliCommand(CommandType cmdType)
cmdType: - the given CommandTypepublic CliCommand(CommandType cmdType, java.lang.String parameters)
CommandType and parameterscmdType: - the given CommandTypeparameters: - the parameters as single Stringpublic CommandType getCommandType()
CommandType of this CommandCommandTypepublic java.lang.String getParameters()
public void setParameters(java.lang.String parameters)
parameters: - input parameterspublic java.lang.String getFullCommand()