static enum HealthChecker.HealthCheckerExitStatus extends Enum<HealthChecker.HealthCheckerExitStatus>
Enum Constant and Description |
---|
FAILED |
FAILED_WITH_EXCEPTION |
FAILED_WITH_EXIT_CODE |
SUCCESS |
TIMED_OUT |
Modifier and Type | Method and Description |
---|---|
static HealthChecker.HealthCheckerExitStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthChecker.HealthCheckerExitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthChecker.HealthCheckerExitStatus SUCCESS
public static final HealthChecker.HealthCheckerExitStatus TIMED_OUT
public static final HealthChecker.HealthCheckerExitStatus FAILED_WITH_EXIT_CODE
public static final HealthChecker.HealthCheckerExitStatus FAILED_WITH_EXCEPTION
public static final HealthChecker.HealthCheckerExitStatus FAILED
public static HealthChecker.HealthCheckerExitStatus[] values()
for (HealthChecker.HealthCheckerExitStatus c : HealthChecker.HealthCheckerExitStatus.values()) System.out.println(c);
public static HealthChecker.HealthCheckerExitStatus 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 nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.