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