public static enum DatadogClient.Status extends Enum<DatadogClient.Status>
Modifier and Type | Method and Description |
---|---|
com.timgroup.statsd.ServiceCheck.Status |
toServiceCheckStatus() |
int |
toValue() |
static DatadogClient.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatadogClient.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatadogClient.Status OK
public static final DatadogClient.Status WARNING
public static final DatadogClient.Status CRITICAL
public static final DatadogClient.Status UNKNOWN
public static DatadogClient.Status[] values()
for (DatadogClient.Status c : DatadogClient.Status.values()) System.out.println(c);
public static DatadogClient.Status 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 int toValue()
public com.timgroup.statsd.ServiceCheck.Status toServiceCheckStatus()
Copyright © 2016–2023. All rights reserved.