public static enum ValidationResult.Reason extends Enum<ValidationResult.Reason>
Enum Constant and Description |
---|
DENIED_PATH_INCLUSION |
FAILED_TO_ID |
FAILED_TO_OPEN |
FORBIDDEN_ACHANDLING |
FORBIDDEN_EXTENSION |
FORBIDDEN_FILTER_ROOT_PREFIX |
INVALID_META_INF |
ROOT_MISSING_RULES |
ROOT_NOT_ALLOWED |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static ValidationResult.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationResult.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationResult.Reason SUCCESS
public static final ValidationResult.Reason FORBIDDEN_EXTENSION
public static final ValidationResult.Reason FAILED_TO_ID
public static final ValidationResult.Reason FAILED_TO_OPEN
public static final ValidationResult.Reason INVALID_META_INF
public static final ValidationResult.Reason ROOT_NOT_ALLOWED
public static final ValidationResult.Reason ROOT_MISSING_RULES
public static final ValidationResult.Reason FORBIDDEN_ACHANDLING
public static final ValidationResult.Reason FORBIDDEN_FILTER_ROOT_PREFIX
public static final ValidationResult.Reason DENIED_PATH_INCLUSION
public static ValidationResult.Reason[] values()
for (ValidationResult.Reason c : ValidationResult.Reason.values()) System.out.println(c);
public static ValidationResult.Reason 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 © 2013-2017. All Rights Reserved.