Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.deploy.cmd
Class ProfileDeployCmd

java.lang.Object
  extended by oracle.ide.controller.Command
      extended by oracle.jdeveloper.deploy.cmd.DeployCommand
          extended by oracle.jdeveloper.deploy.cmd.ProfileDeployCmd
All Implemented Interfaces:
Displayable, Element
Direct Known Subclasses:
DeployToAppServer, DeployToFile

public abstract class ProfileDeployCmd
extends DeployCommand


Nested Class Summary
static class ProfileDeployCmd.ProfileNotFoundException
           
 
Nested classes/interfaces inherited from class oracle.jdeveloper.deploy.cmd.DeployCommand
DeployCommand.Callback, DeployCommand.CommandInstantiationException, DeployCommand.Status
 
Field Summary
 
Fields inherited from class oracle.ide.controller.Command
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type
 
Constructor Summary
ProfileDeployCmd(HashStructure hash)
           
ProfileDeployCmd(int cmdId, int type, int sequence)
           
 
Method Summary
 int doit()
          Executes the actions associated with a specific command.
 java.lang.String getLongLabel()
          Returns a long label that can be displayed to the user.
 oracle.jdeveloper.deploy.meta.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()
           
 
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 oracle.ide.controller.Command
getAffectedNodes, getContext, getData, getId, getName, getType, isGlobal, setData, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Element
getData
 
Methods inherited from interface oracle.ide.model.Displayable
toString
 

Constructor Detail

ProfileDeployCmd

public ProfileDeployCmd(int cmdId,
                        int type,
                        int sequence)

ProfileDeployCmd

public ProfileDeployCmd(HashStructure hash)
Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.