public class DeployToAppServer extends ProfileDeployCmd implements AppServerTarget
ProfileDeployCmd.ProfileNotFoundException
DeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.DefaultCallback, DeployCommand.Status
Modifier and Type | Field and Description |
---|---|
static int |
CMDID_DEPLOY_TO_APPSERVER |
static java.lang.String |
CMDNAME_DEPLOY_TO_APPSERVER |
static int |
SEQ_DEPLOY_TO_APPSERVER |
Modifier | Constructor and Description |
---|---|
|
DeployToAppServer() |
|
DeployToAppServer(HashStructure hash) |
protected |
DeployToAppServer(int cmdId, int type, int seq) |
Modifier and Type | Method and Description |
---|---|
AppServer |
getAppServer() |
java.lang.String |
getAppServerName() |
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.
|
protected DeployToAppServerState |
state() |
createRunnable, getLongLabel, getPlatform, getProfile, getProfileName, setProfile
create, deploy, doit, exception, finished, getAttributes, getChildren, getDeploymentOptions, getDeployShellFactory, getIcon, 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_DEPLOY_TO_APPSERVER
public static final java.lang.String CMDNAME_DEPLOY_TO_APPSERVER
public static final int CMDID_DEPLOY_TO_APPSERVER
public DeployToAppServer()
protected DeployToAppServer(int cmdId, int type, int seq)
public DeployToAppServer(HashStructure hash)
protected java.lang.Class<? extends DeployCommandState> getStateClass()
getStateClass
in class ProfileDeployCmd
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 DeployToAppServerState state()
state
in class ProfileDeployCmd
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
protected boolean isReady()
isReady
in class ProfileDeployCmd
public void setContext(Context context)
Command
setContext
in class ProfileDeployCmd
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