public class RawCommand extends Object implements BasicCommand
| Constructor and Description |
|---|
RawCommand(String commandName,
List<Object> arguments)
Builds a Raw Command.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getArgument(int index)
Get a specific command argument
|
int |
getArgumentCount()
Get the number of arguments associated with this command
|
Object[] |
getArguments() |
String |
getCommand()
Get the root command name (the zeroth token)
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprettyToStringpublic String getCommand()
getCommand in interface BasicCommandpublic Object getArgument(int index)
getArgument in interface BasicCommandindex - The index of the argumentpublic Object[] getArguments()
getArguments in interface BasicCommandpublic int getArgumentCount()
getArgumentCount in interface BasicCommandCopyright © 2017 LSST. All rights reserved.