public enum ProbePhase extends Enum<ProbePhase>
| Enum Constant and Description |
|---|
BOOTSTRAPPING |
DEPENDENCY_CHECKING |
INIT |
LIVE |
TERMINATING |
| Modifier and Type | Field and Description |
|---|---|
static int |
PHASE_COUNT
How many phases are there?
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
String |
getName() |
String |
toString() |
static ProbePhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProbePhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProbePhase INIT
public static final ProbePhase DEPENDENCY_CHECKING
public static final ProbePhase BOOTSTRAPPING
public static final ProbePhase LIVE
public static final ProbePhase TERMINATING
public static ProbePhase[] values()
for (ProbePhase c : ProbePhase.values()) System.out.println(c);
public static ProbePhase 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 nullpublic String getName()
public int getIndex()
public String toString()
toString in class Enum<ProbePhase>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.