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, 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_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 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 DeployJarToAppServerState state()
state
in class DeployCommand
public void setContext(Context context)
Command
setContext
in class DeployCommand
public AppServer getAppServer()
getAppServer
in interface AppServerTarget
public void setAppServer(AppServer server)
setAppServer
in interface AppServerTarget
public java.lang.String getAppServerName()
getAppServerName
in interface AppServerTarget
public void setAppServerName(java.lang.String name)
setAppServerName
in interface AppServerTarget
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