public static enum BuckFixSpecParser.FixSpecFailure extends Enum<BuckFixSpecParser.FixSpecFailure>
Enum Constant and Description |
---|
MISSING |
MISSING_BUILD_ID |
MISSING_COMMAND_ARGS |
MISSING_EXIT_CODE |
MISSING_EXPANDED_COMMAND_ARGS |
MISSING_FIX_SPEC_FILE_IN_LOGS |
Modifier and Type | Method and Description |
---|---|
String |
humanReadableError()
Get a human readable error message for this failure
|
static BuckFixSpecParser.FixSpecFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuckFixSpecParser.FixSpecFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuckFixSpecParser.FixSpecFailure MISSING
public static final BuckFixSpecParser.FixSpecFailure MISSING_BUILD_ID
public static final BuckFixSpecParser.FixSpecFailure MISSING_EXIT_CODE
public static final BuckFixSpecParser.FixSpecFailure MISSING_COMMAND_ARGS
public static final BuckFixSpecParser.FixSpecFailure MISSING_EXPANDED_COMMAND_ARGS
public static final BuckFixSpecParser.FixSpecFailure MISSING_FIX_SPEC_FILE_IN_LOGS
public static BuckFixSpecParser.FixSpecFailure[] values()
for (BuckFixSpecParser.FixSpecFailure c : BuckFixSpecParser.FixSpecFailure.values()) System.out.println(c);
public static BuckFixSpecParser.FixSpecFailure 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 String humanReadableError()