public static enum Dependency.Is extends Enum<Dependency.Is>
| Enum Constant and Description |
|---|
EXISTS
EXISTS state
|
RUNNING
RUNNING state
|
SHUTDOWN
SHUTDOWN state
|
| Modifier and Type | Method and Description |
|---|---|
static Dependency.Is |
fromValue(String value)
Create an Is instance from a string representation.
|
String |
toString() |
String |
value()
Return the string representation of this Is.
|
static Dependency.Is |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dependency.Is[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Dependency.Is RUNNING
public static final Dependency.Is SHUTDOWN
public static final Dependency.Is EXISTS
public static Dependency.Is[] values()
for (Dependency.Is c : Dependency.Is.values())
System.out.println(c);
public static Dependency.Is 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 toString()
toString in class Enum<Dependency.Is>public String value()
public static Dependency.Is fromValue(String value)
value - string representation