public static enum PolymorphicTypeValidator.Validity extends java.lang.Enum<PolymorphicTypeValidator.Validity>
Enum Constant and Description |
---|
ALLOWED
Value that indicates that Class name or Class is allowed for use without further checking
|
DENIED
Value that indicates that Class name or Class is NOT allowed and no further checks are
needed or allowed
|
INDETERMINATE
Value that indicates that Class name or Class validity can not be confirmed by validator
and further checks are needed.
|
Modifier and Type | Method and Description |
---|---|
static PolymorphicTypeValidator.Validity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolymorphicTypeValidator.Validity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolymorphicTypeValidator.Validity ALLOWED
public static final PolymorphicTypeValidator.Validity DENIED
public static final PolymorphicTypeValidator.Validity INDETERMINATE
Typically if validator can not establish validity from Type Id or Class (name), eventual
determination will be DENIED
, for safety reasons.
public static PolymorphicTypeValidator.Validity[] values()
for (PolymorphicTypeValidator.Validity c : PolymorphicTypeValidator.Validity.values()) System.out.println(c);
public static PolymorphicTypeValidator.Validity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved