public class ServiceCommand extends SimpleCommand implements ActionListener<ApplicationState>
| Constructor and Description |
|---|
ServiceCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent<ApplicationState> actionEvent) |
String |
getName()
Returns a name for this command.
|
boolean |
isAvailableInShell()
Whether the command is available to be invoked from within the shell.
|
boolean |
isStorageRequired() |
void |
run(CommandContext ctx)
Execute the command
|
isAvailableOutsideShellgetDescription, getOptions, getUsagepublic void run(CommandContext ctx) throws CommandException
Commandrun in interface CommandCommandExceptionpublic void actionPerformed(ActionEvent<ApplicationState> actionEvent)
actionPerformed in interface ActionListener<ApplicationState>public String getName()
Commandpublic boolean isAvailableInShell()
CommandisAvailableInShell in interface CommandisAvailableInShell in class SimpleCommandpublic boolean isStorageRequired()
isStorageRequired in interface CommandisStorageRequired in class SimpleCommandCopyright © 2012. All Rights Reserved.