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, updateStatus
enableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setData, setTaskInfo, undo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public 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 DeployCommand
protected boolean isReady()
isReady
in class DeployCommand
public java.lang.String getShortLabel()
Displayable
String
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 Displayable
getShortLabel
in class DeployCommand
Displayable
that can be shown to the user.protected UndeployFromAppServerState state()
state
in class DeployCommand
public java.lang.String getAppServerName()
getAppServerName
in interface AppServerTarget
public void setAppServerName(java.lang.String name)
setAppServerName
in interface AppServerTarget
public AppServer getAppServer()
getAppServer
in interface AppServerTarget
public void setAppServer(AppServer server)
setAppServer
in interface AppServerTarget
public void setContext(Context context)
Command
setContext
in class DeployCommand
protected void prepare(DeployShell shell)
DeployCommand
DeployShell
. The default version transfers the Platform
if it has been set.
Use a wrapper to configure the shell.
prepare
in class DeployCommand
ShellAdapter