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, validatecanExecute, canUndo, chain, dispose, getAffectedObjects, getDescription, getLabel, prepare, setDescription, setLabel, toString, undoprotected SimpleCommandProvider cmdProvider
public SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata)
throws CommandNotFoundException
CommandNotFoundExceptionpublic SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commanddata.CommandData commandData)
throws CommandNotFoundException,
CommandLoadException
public void execute()
AbstractAdminCommandexecute in interface org.eclipse.emf.common.command.Commandexecute in class AbstractAdminCommandpublic void execute(CommandHistory cmdHistory)
AdminCommandexecute in interface AdminCommandexecute in class AbstractAdminCommandcmdHistory - an implementation of command history