private static enum OptionalDependency.DependencyState extends java.lang.Enum<OptionalDependency.DependencyState>
| Enum Constant and Description |
|---|
AVAILABLE
The dependency is available, but is not up.
|
UNAVAILABLE
The dependency is unavailable; means the last notification received by this
OptionalDependency (as a
dependent of the real dependency) is #dependencyUnavailable. |
UP
The dependency is up; means the last notification received by this
OptionalDependency (as a
dependent of the real dependency) is #dependencyUp. |
| Modifier and Type | Method and Description |
|---|---|
static OptionalDependency.DependencyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptionalDependency.DependencyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionalDependency.DependencyState UNAVAILABLE
OptionalDependency (as a
dependent of the real dependency) is #dependencyUnavailable.public static final OptionalDependency.DependencyState AVAILABLE
#dependencyInstalled, #dependencyDown, or #dependencyRetrying.public static final OptionalDependency.DependencyState UP
OptionalDependency (as a
dependent of the real dependency) is #dependencyUp.public static OptionalDependency.DependencyState[] values()
for (OptionalDependency.DependencyState c : OptionalDependency.DependencyState.values()) System.out.println(c);
public static OptionalDependency.DependencyState 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 null