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