public class DeployToArchive extends DeployToFile
ProfileDeployCmd.ProfileNotFoundException
DeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.DefaultCallback, DeployCommand.Status
CMDID_DEPLOY_TO_FILE, CMDNAME_DEPLOY_TO_FILE, SEQ_DEPLOY_TO_FILE
Modifier | Constructor and Description |
---|---|
|
DeployToArchive() |
|
DeployToArchive(HashStructure hash) |
protected |
DeployToArchive(int cmdId,
int type,
int sequence) |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getOutputFileURL() |
ArchiveProfile |
getProfile() |
java.lang.String |
getShortLabel()
Returns a short label that can be displayed to the user.
|
protected java.lang.Class<? extends DeployCommandState> |
getStateClass() |
protected void |
prepare(DeployShell shell)
Prepares for deployment.
|
void |
setOutputFileURL(java.net.URL url) |
void |
setProfile(Profile profile) |
protected DeployToArchiveState |
state() |
createRunnable, getLongLabel, getPlatform, getProfileName, isReady, setContext
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
protected DeployToArchive(int cmdId, int type, int sequence)
public DeployToArchive()
public DeployToArchive(HashStructure hash)
public void setProfile(Profile profile)
setProfile
in class ProfileDeployCmd
public ArchiveProfile getProfile()
getProfile
in class ProfileDeployCmd
protected java.lang.Class<? extends DeployCommandState> getStateClass()
getStateClass
in class DeployToFile
protected DeployToArchiveState state()
state
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 DeployToFile
Displayable
that can be shown to the user.public void setOutputFileURL(java.net.URL url)
public java.net.URL getOutputFileURL()
protected void prepare(DeployShell shell)
DeployShell
. The default version transfers the Platform
if it has been set.
Use a wrapper to configure the shell.
prepare
in class DeployCommand
shell
- ShellAdapter