public static enum SchemaValidationPolicy.Action extends Enum<SchemaValidationPolicy.Action>
Enum Constant and Description |
---|
IGNORE
Schema validation will not be performed.
|
REJECT
Schema validation will be performed and failures will cause the
overall validation to fail.
|
WARN
Schema validation will be performed, but failures will not cause the
overall validation to fail.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isIgnore()
Returns
true if this policy is IGNORE . |
boolean |
isReject()
Returns
true if this policy is REJECT . |
boolean |
isWarn()
Returns
true if this policy is WARN . |
boolean |
needsChecking()
Returns
true if this policy is WARN or REJECT . |
static SchemaValidationPolicy.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaValidationPolicy.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaValidationPolicy.Action IGNORE
public static final SchemaValidationPolicy.Action WARN
public static final SchemaValidationPolicy.Action REJECT
public static SchemaValidationPolicy.Action[] values()
for (SchemaValidationPolicy.Action c : SchemaValidationPolicy.Action.values()) System.out.println(c);
public static SchemaValidationPolicy.Action 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 boolean isIgnore()
true
if this policy is IGNORE
.true
if this policy is IGNORE
.public boolean isReject()
true
if this policy is REJECT
.true
if this policy is REJECT
.public boolean isWarn()
true
if this policy is WARN
.true
if this policy is WARN
.public boolean needsChecking()
true
if this policy is WARN
or REJECT
.true
if this policy is WARN
or REJECT
.Copyright 2010-2022 ForgeRock AS.