public final class AgentApplication extends BasicCommand
Constructor and Description |
---|
AgentApplication() |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Called when the command is being removed from the system.
|
Collection<ArgumentSpec> |
getAcceptedArguments()
Returns a collection of arguments that the command is prepared to handle.
|
AgentStartupConfiguration |
getConfiguration() |
String |
getDescription()
A short description for the command indicating what it does.
|
String |
getName()
Returns a name for this command.
|
String |
getUsage()
How the user should invoke this command
|
void |
run(CommandContext ctx)
Execute the command
|
getNotifier, isStorageRequired, setStorageRequired
public AgentStartupConfiguration getConfiguration()
getConfiguration
in class BasicCommand
public void run(CommandContext ctx) throws CommandException
Command
CommandException
public void disable()
Command
public String getName()
Command
public String getDescription()
Command
public String getUsage()
Command
public Collection<ArgumentSpec> getAcceptedArguments()
Command
Copyright © 2012. All Rights Reserved.