public enum HealthCheckType extends Enum<HealthCheckType>
HealthCheck| Enum Constant and Description |
|---|
HTTP
An http health check
|
NONE
Deprecated.
|
PORT
A port health check
|
PROCESS
A process health check
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckType |
from(String s) |
String |
getValue() |
String |
toString() |
static HealthCheckType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheckType HTTP
@Deprecated public static final HealthCheckType NONE
public static final HealthCheckType PORT
public static final HealthCheckType PROCESS
public static HealthCheckType[] values()
for (HealthCheckType c : HealthCheckType.values()) System.out.println(c);
public static HealthCheckType 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 HealthCheckType from(String s)
public String getValue()
public String toString()
toString in class Enum<HealthCheckType>Copyright © 2020. All rights reserved.