public static enum SLAEvent.Status extends java.lang.Enum<SLAEvent.Status>
| Enum Constant and Description |
|---|
CREATED |
FAILED |
KILLED |
STARTED |
SUCCEEDED |
| Modifier and Type | Method and Description |
|---|---|
static SLAEvent.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SLAEvent.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SLAEvent.Status CREATED
public static final SLAEvent.Status STARTED
public static final SLAEvent.Status SUCCEEDED
public static final SLAEvent.Status KILLED
public static final SLAEvent.Status FAILED
public static SLAEvent.Status[] values()
for (SLAEvent.Status c : SLAEvent.Status.values()) System.out.println(c);
public static SLAEvent.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2019 Apache Software Foundation. All Rights Reserved.