public class SimpleAdminCommand extends AbstractAdminCommand
AbstractAdminCommand.CmdNotificationListener
Modifier and Type | Field and Description |
---|---|
protected SimpleCommandProvider |
cmdProvider |
ASYNC_CUSTOM_TAG, asyncCmdSession, cmdMgrType, cnh, DYNAMIC_CUSTOM_TAG, listSetParamsTable, PRIVATE_CUSTOM_TAG
Constructor and Description |
---|
SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commanddata.CommandData commandData) |
SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Defines the execution logic of command.
|
void |
execute(CommandHistory cmdHistory)
Executes the command and puts the command data into the command history.
|
cleanupUploadedFiles, createParamEObject, createParameterMetadata, generateScript, getChoices, getCmdHandler, getCmdMgrType, getCommandData, getCommandMetadata, getCommandMetadata, getCommandResult, getCommandSession, getConfigService, getConfigSession, getLocale, getName, getOrigParameterValue, getParameter, getParameter, getParameterMetadata, getResult, getTargetObject, getTargetObjectChoices, getUserData, initCommandData, initializeParameter, initializeParameter, isAsyncCommand, isDynamicStepCommand, isLocalMode, isParamReadonly, isPrivateParameter, isTable, listAllParameterName, listParameterName, listSetParams, listSetParams, redo, resetCommandData, resetCommandMetadata, save, sendNotification, setCmdHandler, setCmdMgrType, setCommandMetadata, setCommandResult, setCommandSession, setConfigSession, setListSetParamsTable, setLocale, setOrigParameterValue, setParameter, setParameter, setTargetObject, setupListener, validate
canExecute, canUndo, chain, dispose, getAffectedObjects, getDescription, getLabel, prepare, setDescription, setLabel, toString, undo
protected SimpleCommandProvider cmdProvider
public SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata) throws CommandNotFoundException
CommandNotFoundException
public SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commanddata.CommandData commandData) throws CommandNotFoundException, CommandLoadException
public void execute()
AbstractAdminCommand
execute
in interface org.eclipse.emf.common.command.Command
execute
in class AbstractAdminCommand
public void execute(CommandHistory cmdHistory)
AdminCommand
execute
in interface AdminCommand
execute
in class AbstractAdminCommand
cmdHistory
- an implementation of command history