org.rhq.bundle.ant
Enum DeploymentPhase

java.lang.Object
  extended by java.lang.Enum<DeploymentPhase>
      extended by org.rhq.bundle.ant.DeploymentPhase
All Implemented Interfaces:
Serializable, Comparable<DeploymentPhase>

public enum DeploymentPhase
extends Enum<DeploymentPhase>

A bundle deployment phase. One or more tasks are associated with each phase. The phases are executed as part of three user-initiated lifecycles: Deploy: INSTALL,START Redeploy: STOP,UPGRADE,START Undeploy: STOP,UNINSTALL TODO (ips): This should probably be moved to domain or somewhere else not specific to the Ant bundle type.


Enum Constant Summary
INSTALL
           
START
           
STOP
           
UNINSTALL
           
UPGRADE
           
 
Field Summary
static DeploymentPhase[] DEPLOY_LIFECYCLE
           
static DeploymentPhase[] REDEPLOY_LIFECYCLE
           
static DeploymentPhase[] UNDEPLOY_LIFECYCLE
           
 
Method Summary
 String toString()
           
static DeploymentPhase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DeploymentPhase[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTALL

public static final DeploymentPhase INSTALL

START

public static final DeploymentPhase START

STOP

public static final DeploymentPhase STOP

UPGRADE

public static final DeploymentPhase UPGRADE

UNINSTALL

public static final DeploymentPhase UNINSTALL
Field Detail

DEPLOY_LIFECYCLE

public static final DeploymentPhase[] DEPLOY_LIFECYCLE

REDEPLOY_LIFECYCLE

public static final DeploymentPhase[] REDEPLOY_LIFECYCLE

UNDEPLOY_LIFECYCLE

public static final DeploymentPhase[] UNDEPLOY_LIFECYCLE
Method Detail

values

public static DeploymentPhase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DeploymentPhase c : DeploymentPhase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DeploymentPhase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<DeploymentPhase>


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.