public class DeployJarToAppServer extends DeployCommand implements AppServerTarget
DeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.DefaultCallback, DeployCommand.Status| Modifier and Type | Field and Description |
|---|---|
protected AppServer |
appServer_ |
static int |
CMDID_DEPLOY_JAR_TO_APPSERVER |
static java.lang.String |
CMDNAME_DEPLOY_JAR_TO_APPSERVER |
static int |
SEQ_DEPLOY_JAR_TO_APPSERVER |
| Modifier | Constructor and Description |
|---|---|
|
DeployJarToAppServer() |
protected |
DeployJarToAppServer(int cmdId,
int type,
int sequence) |
| Modifier and Type | Method and Description |
|---|---|
AppServer |
getAppServer() |
java.lang.String |
getAppServerName() |
java.net.URL |
getJarUrl() |
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 |
setJarUrl(java.net.URL jarUrl) |
protected DeployJarToAppServerState |
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, waittoStringpublic static final int SEQ_DEPLOY_JAR_TO_APPSERVER
public static final java.lang.String CMDNAME_DEPLOY_JAR_TO_APPSERVER
public static final int CMDID_DEPLOY_JAR_TO_APPSERVER
protected volatile AppServer appServer_
public DeployJarToAppServer()
protected DeployJarToAppServer(int cmdId,
int type,
int sequence)
public java.net.URL getJarUrl()
public void setJarUrl(java.net.URL jarUrl)
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 DeployJarToAppServerState state()
state in class DeployCommandpublic void setContext(Context context)
CommandsetContext in class DeployCommandpublic AppServer getAppServer()
getAppServer in interface AppServerTargetpublic void setAppServer(AppServer server)
setAppServer in interface AppServerTargetpublic java.lang.String getAppServerName()
getAppServerName in interface AppServerTargetpublic void setAppServerName(java.lang.String name)
setAppServerName in interface AppServerTargetprotected 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