Package org.jboss.arquillian.drone.spi
Enum DronePoint.Lifecycle
- java.lang.Object
-
- java.lang.Enum<DronePoint.Lifecycle>
-
- org.jboss.arquillian.drone.spi.DronePoint.Lifecycle
-
- All Implemented Interfaces:
Serializable,Comparable<DronePoint.Lifecycle>
- Enclosing interface:
- DronePoint<DRONE>
public static enum DronePoint.Lifecycle extends Enum<DronePoint.Lifecycle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSClass lifecycle means the drone will be prepared inBeforeClassand destroyed inAfterClass.DEPLOYMENTDeployment lifecycle means the drone will be prepared inBeforeClassand destroyed inBeforeUnDeploy.METHODMethod lifecycle means the drone will be prepared inBeforeand destroyed inAfter.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DronePoint.LifecyclevalueOf(String name)Returns the enum constant of this type with the specified name.static DronePoint.Lifecycle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METHOD
public static final DronePoint.Lifecycle METHOD
Method lifecycle means the drone will be prepared inBeforeand destroyed inAfter.
-
CLASS
public static final DronePoint.Lifecycle CLASS
Class lifecycle means the drone will be prepared inBeforeClassand destroyed inAfterClass.
-
DEPLOYMENT
public static final DronePoint.Lifecycle DEPLOYMENT
Deployment lifecycle means the drone will be prepared inBeforeClassand destroyed inBeforeUnDeploy.
-
-
Method Detail
-
values
public static DronePoint.Lifecycle[] 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 (DronePoint.Lifecycle c : DronePoint.Lifecycle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DronePoint.Lifecycle 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 nameNullPointerException- if the argument is null
-
-