@InterfaceAudience.Private public static enum HConstants.OperationStatusCode extends Enum<HConstants.OperationStatusCode>
Enum Constant and Description |
---|
BAD_FAMILY |
FAILURE |
NOT_RUN |
SANITY_CHECK_FAILURE |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static HConstants.OperationStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HConstants.OperationStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HConstants.OperationStatusCode NOT_RUN
public static final HConstants.OperationStatusCode SUCCESS
public static final HConstants.OperationStatusCode BAD_FAMILY
public static final HConstants.OperationStatusCode SANITY_CHECK_FAILURE
public static final HConstants.OperationStatusCode FAILURE
public static HConstants.OperationStatusCode[] values()
for (HConstants.OperationStatusCode c : HConstants.OperationStatusCode.values()) System.out.println(c);
public static HConstants.OperationStatusCode 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 null