public enum MonitorResultStatus extends Enum<MonitorResultStatus>
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Integer |
getSeverity() |
Boolean |
isMoreSevereThan(MonitorResultStatus that) |
static MonitorResultStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitorResultStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorResultStatus OK
public static final MonitorResultStatus ERROR
public static final MonitorResultStatus FAILURE
public static MonitorResultStatus[] values()
for (MonitorResultStatus c : MonitorResultStatus.values()) System.out.println(c);
public static MonitorResultStatus 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 getDescription()
public Integer getSeverity()
public Boolean isMoreSevereThan(MonitorResultStatus that)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.