Enum SystemMonitor.Confidence
- java.lang.Object
-
- java.lang.Enum<SystemMonitor.Confidence>
-
- com.yahoo.vespa.hosted.controller.api.integration.organization.SystemMonitor.Confidence
-
- All Implemented Interfaces:
Serializable,Comparable<SystemMonitor.Confidence>
- Enclosing interface:
- SystemMonitor
public static enum SystemMonitor.Confidence extends Enum<SystemMonitor.Confidence>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemMonitor.ConfidencevalueOf(String name)Returns the enum constant of this type with the specified name.static SystemMonitor.Confidence[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
aborted
public static final SystemMonitor.Confidence aborted
-
broken
public static final SystemMonitor.Confidence broken
-
low
public static final SystemMonitor.Confidence low
-
normal
public static final SystemMonitor.Confidence normal
-
high
public static final SystemMonitor.Confidence high
-
-
Method Detail
-
values
public static SystemMonitor.Confidence[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SystemMonitor.Confidence c : SystemMonitor.Confidence.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemMonitor.Confidence valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-