public enum ApiConfigStalenessStatus extends Enum<ApiConfigStalenessStatus>
Enum Constant and Description |
---|
FRESH
Configuration is up to date.
|
STALE
Configuration is stale.
|
STALE_REFRESHABLE
Configuration is stale and can be updated by running a refresh command.
|
Modifier and Type | Method and Description |
---|---|
static ApiConfigStalenessStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiConfigStalenessStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiConfigStalenessStatus FRESH
public static final ApiConfigStalenessStatus STALE_REFRESHABLE
public static final ApiConfigStalenessStatus STALE
public static ApiConfigStalenessStatus[] values()
for (ApiConfigStalenessStatus c : ApiConfigStalenessStatus.values()) System.out.println(c);
public static ApiConfigStalenessStatus 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.