public static enum InstrumentedContext.Listener.Phase extends Enum<InstrumentedContext.Listener.Phase>
Enum Constant and Description |
---|
FAILURE
The task completed evaluating with a failure
|
START
The task has started evaluating
|
SUCCESS
The task completed evaluating successfully
|
Modifier and Type | Method and Description |
---|---|
static InstrumentedContext.Listener.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstrumentedContext.Listener.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstrumentedContext.Listener.Phase START
public static final InstrumentedContext.Listener.Phase SUCCESS
public static final InstrumentedContext.Listener.Phase FAILURE
public static InstrumentedContext.Listener.Phase[] values()
for (InstrumentedContext.Listener.Phase c : InstrumentedContext.Listener.Phase.values()) System.out.println(c);
public static InstrumentedContext.Listener.Phase 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 © 2020. All rights reserved.