public static enum DronePoint.Lifecycle extends Enum<DronePoint.Lifecycle>
| Enum Constant and Description |
|---|
CLASS
Class lifecycle means the drone will be prepared in
BeforeClass and destroyed in AfterClass. |
DEPLOYMENT
Deployment lifecycle means the drone will be prepared in
BeforeClass and destroyed in
BeforeUnDeploy. |
METHOD
Method lifecycle means the drone will be prepared in
Before and destroyed in After. |
| Modifier and Type | Method and Description |
|---|---|
static DronePoint.Lifecycle |
valueOf(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.
|
public static final DronePoint.Lifecycle METHOD
Before and destroyed in After.public static final DronePoint.Lifecycle CLASS
BeforeClass and destroyed in AfterClass.public static final DronePoint.Lifecycle DEPLOYMENT
BeforeClass and destroyed in
BeforeUnDeploy.public static DronePoint.Lifecycle[] values()
for (DronePoint.Lifecycle c : DronePoint.Lifecycle.values()) System.out.println(c);
public static DronePoint.Lifecycle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 JBoss by Red Hat. All rights reserved.