public class DeployToArchive extends DeployToFile
ProfileDeployCmd.ProfileNotFoundExceptionDeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.DefaultCallback, DeployCommand.StatusCMDID_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, setContextcreate, deploy, doit, exception, finished, getAttributes, getChildren, getDeploymentOptions, getDeployShellFactory, getIcon, 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, waittoString
protected DeployToArchive(int cmdId,
int type,
int sequence)
public DeployToArchive()
public DeployToArchive(HashStructure hash)
public void setProfile(Profile profile)
setProfile in class ProfileDeployCmdpublic ArchiveProfile getProfile()
getProfile in class ProfileDeployCmdprotected java.lang.Class<? extends DeployCommandState> getStateClass()
getStateClass in class DeployToFileprotected DeployToArchiveState state()
state in class ProfileDeployCmdpublic 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 DeployToFileDisplayable 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 DeployCommandshell -ShellAdapter