public static enum ResourceGroupLifeCycleTaskRuntime.Status extends java.lang.Enum<ResourceGroupLifeCycleTaskRuntime.Status>
Note that the order in which the statuss are declared simplifies the implementation of isWorse. If you change the ordering or add statuss you'll probably need to reimplement the isWorse method.
Enum Constant and Description |
---|
FAILED |
IN_PROGRESS |
SUCCEEDED |
Modifier and Type | Field and Description |
---|---|
private boolean |
isFinal |
private java.lang.String |
userFriendlyStatus |
Modifier and Type | Method and Description |
---|---|
boolean |
isFinal() |
boolean |
isWorse(ResourceGroupLifeCycleTaskRuntime.Status other) |
java.lang.String |
toString() |
static ResourceGroupLifeCycleTaskRuntime.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceGroupLifeCycleTaskRuntime.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceGroupLifeCycleTaskRuntime.Status FAILED
public static final ResourceGroupLifeCycleTaskRuntime.Status IN_PROGRESS
public static final ResourceGroupLifeCycleTaskRuntime.Status SUCCEEDED
private final boolean isFinal
private final java.lang.String userFriendlyStatus
public static ResourceGroupLifeCycleTaskRuntime.Status[] values()
for (ResourceGroupLifeCycleTaskRuntime.Status c : ResourceGroupLifeCycleTaskRuntime.Status.values()) System.out.println(c);
public static ResourceGroupLifeCycleTaskRuntime.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 nullpublic boolean isWorse(ResourceGroupLifeCycleTaskRuntime.Status other)
public boolean isFinal()
public java.lang.String toString()
toString
in class java.lang.Enum<ResourceGroupLifeCycleTaskRuntime.Status>