public abstract class LifeCycleCommand extends AbstractCommand
Constructor and Description |
---|
LifeCycleCommand(String command,
String successResponse,
String errorResponse) |
Modifier and Type | Method and Description |
---|---|
protected void |
commandReceived(CommandReader commandReader,
CommandSender commandSender) |
protected String |
getManagedCommand()
Returns the managed command
|
protected abstract void |
lifeCycleOperation(Application application) |
commandReceived, getManagedCommands
protected void commandReceived(CommandReader commandReader, CommandSender commandSender)
commandReceived
in class AbstractCommand
protected String getManagedCommand()
AbstractCommand
getManagedCommand
in class AbstractCommand
protected abstract void lifeCycleOperation(Application application) throws IllegalStateException, SecurityException, ApplicationOperationException