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, 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 ProfileDeployCmd(int cmdId, int type, int sequence)
public ProfileDeployCmd(HashStructure hash)
protected java.lang.Class<? extends DeployCommandState> getStateClass()
getStateClass
in class DeployCommand
public Profile getProfile()
public java.lang.String getProfileName()
public void setProfile(Profile profile)
public void setContext(Context context)
Command
setContext
in class DeployCommand
protected boolean isReady()
isReady
in class DeployCommand
protected ProfileDeployCmdState state()
state
in class DeployCommand
public Runnable createRunnable() throws DeployException
createRunnable
in class DeployCommand
DeployException
public java.lang.String getLongLabel()
Displayable
String
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 Displayable
getLongLabel
in class DeployCommand
Displayable
that
can be shown to the user.public Platform getPlatform()
getPlatform
in class DeployCommand