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
|
isAvailableOutsideShell
getDescription, getOptions, getUsage
public void run(CommandContext ctx) throws CommandException
Command
run
in interface Command
CommandException
public void actionPerformed(ActionEvent<ApplicationState> actionEvent)
actionPerformed
in interface ActionListener<ApplicationState>
public String getName()
Command
public boolean isAvailableInShell()
Command
isAvailableInShell
in interface Command
isAvailableInShell
in class SimpleCommand
public boolean isStorageRequired()
isStorageRequired
in interface Command
isStorageRequired
in class SimpleCommand
Copyright © 2013. All Rights Reserved.