public enum HealthMonitorType extends Enum<HealthMonitorType>
Modifier and Type | Method and Description |
---|---|
static HealthMonitorType |
forValue(String value) |
static HealthMonitorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthMonitorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthMonitorType PING
public static final HealthMonitorType TCP
public static final HealthMonitorType HTTP
public static final HealthMonitorType HTTPS
public static HealthMonitorType[] values()
for (HealthMonitorType c : HealthMonitorType.values()) System.out.println(c);
public static HealthMonitorType 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 static HealthMonitorType forValue(String value)
Copyright © 2017. All rights reserved.