public class UndeployFromAppServer extends DeployCommand implements AppServerTarget
DeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.DefaultCallback, DeployCommand.Status| Modifier and Type | Field and Description |
|---|---|
static int |
CMDID_UNDEPLOY_FROM_APPSERVER |
static java.lang.String |
CMDNAME_UNDEPLOY_FROM_APPSERVER |
static int |
SEQ_UNDEPLOY_FROM_APPSERVER |
| Constructor and Description |
|---|
UndeployFromAppServer() |
| Modifier and Type | Method and Description |
|---|---|
AppServer |
getAppServer() |
java.lang.String |
getAppServerName() |
DeployedModule |
getDeployedModule() |
java.lang.String |
getShortLabel()
Returns a short label that can be displayed to the user.
|
protected java.lang.Class<? extends DeployCommandState> |
getStateClass() |
protected boolean |
isReady() |
protected void |
prepare(DeployShell shell)
Prepares for deployment.
|
void |
setAppServer(AppServer server) |
void |
setAppServerName(java.lang.String name) |
void |
setContext(Context context)
Sets context associated with command.
|
void |
setDeployedModule(DeployedModule deployedModule) |
protected UndeployFromAppServerState |
state() |
create, createRunnable, deploy, doit, exception, finished, getAttributes, getChildren, getDeploymentOptions, getDeployShellFactory, getIcon, getLongLabel, getPlatform, getSequenceId, getState, getStatus, getToolTipText, isSynchronous, mayHaveChildren, newState, newState, setCallback, setDeploymentOptions, setPlatform, setState, setStatus, setSynchronous, updateStatusenableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setData, setTaskInfo, undoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributedLabel, toStringpublic static final int SEQ_UNDEPLOY_FROM_APPSERVER
public static final java.lang.String CMDNAME_UNDEPLOY_FROM_APPSERVER
public static final int CMDID_UNDEPLOY_FROM_APPSERVER
public DeployedModule getDeployedModule()
public void setDeployedModule(DeployedModule deployedModule)
protected java.lang.Class<? extends DeployCommandState> getStateClass()
getStateClass in class DeployCommandprotected boolean isReady()
isReady in class DeployCommandpublic java.lang.String getShortLabel()
DisplayableString is considered
translatable and should therefore be placed in an appropriate
resource file. When possible, the returned label should be
reasonably short enough to show in the navigator or explorer
windows but long enough to clearly identify and distinguish the
Displayable.getShortLabel in interface DisplayablegetShortLabel in class DeployCommandDisplayable
that can be shown to the user.protected UndeployFromAppServerState state()
state in class DeployCommandpublic java.lang.String getAppServerName()
getAppServerName in interface AppServerTargetpublic void setAppServerName(java.lang.String name)
setAppServerName in interface AppServerTargetpublic AppServer getAppServer()
getAppServer in interface AppServerTargetpublic void setAppServer(AppServer server)
setAppServer in interface AppServerTargetpublic void setContext(Context context)
CommandsetContext in class DeployCommandprotected void prepare(DeployShell shell)
DeployCommandDeployShell. The default version transfers the Platform
if it has been set.
Use a wrapper to configure the shell.
prepare in class DeployCommandShellAdapter