uk.co.flamingpenguin.jewel.cli
Enum ArgumentValidationException.ValidationError.ErrorType
java.lang.Object
java.lang.Enum<ArgumentValidationException.ValidationError.ErrorType>
uk.co.flamingpenguin.jewel.cli.ArgumentValidationException.ValidationError.ErrorType
- All Implemented Interfaces:
- Serializable, Comparable<ArgumentValidationException.ValidationError.ErrorType>
- Enclosing interface:
- ArgumentValidationException.ValidationError
public static enum ArgumentValidationException.ValidationError.ErrorType
- extends Enum<ArgumentValidationException.ValidationError.ErrorType>
UnexpectedOption
public static final ArgumentValidationException.ValidationError.ErrorType UnexpectedOption
MissingValue
public static final ArgumentValidationException.ValidationError.ErrorType MissingValue
MisplacedOption
public static final ArgumentValidationException.ValidationError.ErrorType MisplacedOption
UnexpectedValue
public static final ArgumentValidationException.ValidationError.ErrorType UnexpectedValue
AdditionalValue
public static final ArgumentValidationException.ValidationError.ErrorType AdditionalValue
MissingOption
public static final ArgumentValidationException.ValidationError.ErrorType MissingOption
InvalidValueForType
public static final ArgumentValidationException.ValidationError.ErrorType InvalidValueForType
UnableToConstructType
public static final ArgumentValidationException.ValidationError.ErrorType UnableToConstructType
PatternMismatch
public static final ArgumentValidationException.ValidationError.ErrorType PatternMismatch
HelpRequested
public static final ArgumentValidationException.ValidationError.ErrorType HelpRequested
UnexpectedTrailingValue
public static final ArgumentValidationException.ValidationError.ErrorType UnexpectedTrailingValue
values
public static ArgumentValidationException.ValidationError.ErrorType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ArgumentValidationException.ValidationError.ErrorType c : ArgumentValidationException.ValidationError.ErrorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ArgumentValidationException.ValidationError.ErrorType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getDescription
public abstract String getDescription(ArgumentValidationException.ValidationError error)
Copyright © 2006-2012 lexicalscope. All Rights Reserved.