oracle.jdeveloper.deploy.cmd
Class ProfileDeployCmd
java.lang.Object
oracle.ide.controller.Command
oracle.jdeveloper.deploy.cmd.DeployCommand
oracle.jdeveloper.deploy.cmd.ProfileDeployCmd
- All Implemented Interfaces:
- Displayable, Element
- Direct Known Subclasses:
- DeployToAppServer, DeployToFile
public abstract class ProfileDeployCmd
- extends DeployCommand
Methods inherited from class oracle.jdeveloper.deploy.cmd.DeployCommand |
create, deploy, exception, finished, getAttributes, getChildren, getDeployShellFactory, getIcon, getSequenceId, getShortLabel, getState, getStatus, getToolTipText, mayHaveChildren, newState, newState, prepare, setCallback, setPlatform, setState, setStatus, updateStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileDeployCmd
public ProfileDeployCmd(int cmdId,
int type,
int sequence)
ProfileDeployCmd
public ProfileDeployCmd(HashStructure hash)
getStateClass
protected java.lang.Class<? extends DeployCommandState> getStateClass()
- Specified by:
getStateClass
in class DeployCommand
getProfile
public Profile getProfile()
getProfileName
public java.lang.String getProfileName()
setProfile
public void setProfile(Profile profile)
setContext
public void setContext(Context context)
- Description copied from class:
Command
- Sets context associated with command.
- Overrides:
setContext
in class Command
isReady
protected boolean isReady()
- Specified by:
isReady
in class DeployCommand
state
protected ProfileDeployCmdState state()
- Overrides:
state
in class DeployCommand
doit
public int doit()
throws java.lang.Exception
- Description copied from class:
Command
- Executes the actions associated with a specific command.
When a command executes successfully, implementations should
return OK, otherwise, return CANCEL or any other non-zero value.
- Overrides:
doit
in class DeployCommand
- Throws:
java.lang.Exception
getLongLabel
public java.lang.String getLongLabel()
- Description copied from interface:
Displayable
- Returns a long label that can be displayed to the user. Generally,
the value of the returned
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.
- Specified by:
getLongLabel
in interface Displayable
- Overrides:
getLongLabel
in class DeployCommand
- Returns:
- a long descriptive label of the
Displayable
that
can be shown to the user.
getPlatform
public oracle.jdeveloper.deploy.meta.Platform getPlatform()
- Overrides:
getPlatform
in class DeployCommand
Copyright © 1997, 2011, Oracle. All rights reserved.