public static enum ApiShutdownReadiness.ShutdownReadinessState extends Enum<ApiShutdownReadiness.ShutdownReadinessState>
Enum Constant and Description |
---|
NOT_READY
Critical activity still ongoing.
|
READY
Ready for shutdown.
|
Modifier and Type | Method and Description |
---|---|
static ApiShutdownReadiness.ShutdownReadinessState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiShutdownReadiness.ShutdownReadinessState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiShutdownReadiness.ShutdownReadinessState READY
public static final ApiShutdownReadiness.ShutdownReadinessState NOT_READY
public static ApiShutdownReadiness.ShutdownReadinessState[] values()
for (ApiShutdownReadiness.ShutdownReadinessState c : ApiShutdownReadiness.ShutdownReadinessState.values()) System.out.println(c);
public static ApiShutdownReadiness.ShutdownReadinessState 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 © Cloudera, Inc. Released under Apache License, Version 2.0.