public abstract class ProfileDeployCmd extends DeployCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfileDeployCmd.ProfileNotFoundException |
DeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.DefaultCallback, DeployCommand.Status| Constructor and Description |
|---|
ProfileDeployCmd(HashStructure hash) |
ProfileDeployCmd(int cmdId,
int type,
int sequence) |
| Modifier and Type | Method and Description |
|---|---|
Runnable |
createRunnable() |
java.lang.String |
getLongLabel()
Returns a long label that can be displayed to the user.
|
Platform |
getPlatform() |
Profile |
getProfile() |
java.lang.String |
getProfileName() |
protected java.lang.Class<? extends DeployCommandState> |
getStateClass() |
protected boolean |
isReady() |
void |
setContext(Context context)
Sets context associated with command.
|
void |
setProfile(Profile profile) |
protected ProfileDeployCmdState |
state() |
create, deploy, doit, exception, finished, getAttributes, getChildren, getDeploymentOptions, getDeployShellFactory, getIcon, getSequenceId, getShortLabel, getState, getStatus, getToolTipText, isSynchronous, mayHaveChildren, newState, newState, prepare, 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 ProfileDeployCmd(int cmdId,
int type,
int sequence)
public ProfileDeployCmd(HashStructure hash)
protected java.lang.Class<? extends DeployCommandState> getStateClass()
getStateClass in class DeployCommandpublic Profile getProfile()
public java.lang.String getProfileName()
public void setProfile(Profile profile)
public void setContext(Context context)
CommandsetContext in class DeployCommandprotected boolean isReady()
isReady in class DeployCommandprotected ProfileDeployCmdState state()
state in class DeployCommandpublic Runnable createRunnable() throws DeployException
createRunnable in class DeployCommandDeployExceptionpublic java.lang.String getLongLabel()
DisplayableString is considered translatable
and should therefore be placed in an appropriate resource file.
The long label differs from the short label essentially on length.
Usually the long label will only be shown on-demand and in places
where horizontal space is more available. Examples are the status
bar and tooltips.getLongLabel in interface DisplayablegetLongLabel in class DeployCommandDisplayable that
can be shown to the user.public Platform getPlatform()
getPlatform in class DeployCommand