@Generated(value="org.jsonschema2pojo") public static enum Endpoint.HealthState extends Enum<Endpoint.HealthState>
| Enum Constant and Description |
|---|
CRITICAL |
OK |
OTHER |
UNKNOWN |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static Endpoint.HealthState |
fromValue(String value) |
String |
toString() |
static Endpoint.HealthState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Endpoint.HealthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Endpoint.HealthState CRITICAL
public static final Endpoint.HealthState OK
public static final Endpoint.HealthState OTHER
public static final Endpoint.HealthState UNKNOWN
public static final Endpoint.HealthState WARNING
public static Endpoint.HealthState[] values()
for (Endpoint.HealthState c : Endpoint.HealthState.values()) System.out.println(c);
public static Endpoint.HealthState 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<Endpoint.HealthState>public static Endpoint.HealthState fromValue(String value)
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.