Enum HealthCheckMonitor.ChangeType
- java.lang.Object
-
- java.lang.Enum<HealthCheckMonitor.ChangeType>
-
- org.apache.felix.hc.core.impl.monitor.HealthCheckMonitor.ChangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<HealthCheckMonitor.ChangeType>
- Enclosing class:
- HealthCheckMonitor
public static enum HealthCheckMonitor.ChangeType extends Enum<HealthCheckMonitor.ChangeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
NONE
STATUS_CHANGES
STATUS_CHANGES_OR_NOT_OK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthCheckMonitor.ChangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HealthCheckMonitor.ChangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final HealthCheckMonitor.ChangeType NONE
-
STATUS_CHANGES
public static final HealthCheckMonitor.ChangeType STATUS_CHANGES
-
STATUS_CHANGES_OR_NOT_OK
public static final HealthCheckMonitor.ChangeType STATUS_CHANGES_OR_NOT_OK
-
ALL
public static final HealthCheckMonitor.ChangeType ALL
-
-
Method Detail
-
values
public static HealthCheckMonitor.ChangeType[] 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 (HealthCheckMonitor.ChangeType c : HealthCheckMonitor.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HealthCheckMonitor.ChangeType 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
-
-