public enum ValidationScope extends Enum<ValidationScope>
ValidationScopeType enumeration:
Type of validation scope
Enum Constant and Description |
---|
NONE
None: Never validate data
|
POST_CONSO
Post consolidation only: Validates data after consolidation
|
PRE_CONSO
Pre consolidation only: Validates source data before consolidation
|
PRE_POST
Pre and post consolidation: Validates data both before and after
consolidation
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPostConsoValidation()
Return true if validation should be checked during post consolidation
validations phase.
|
boolean |
isSourceValidation()
Return true if validation should be checked during source validations
phase.
|
boolean |
matches(ValidationScope pValidationPhase)
Return true if validation should be checked when in are doing
pValidationPhase.
|
static ValidationScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationScope NONE
public static final ValidationScope POST_CONSO
public static final ValidationScope PRE_CONSO
public static final ValidationScope PRE_POST
public static ValidationScope[] values()
for (ValidationScope c : ValidationScope.values()) System.out.println(c);
public static ValidationScope 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 matches(ValidationScope pValidationPhase)
PRE_POST
or this ==
pValidationPhasepValidationPhase
- one of PRE_CONSO
or POST_CONSO
public boolean isSourceValidation()
public boolean isPostConsoValidation()
Copyright © 2015. All Rights Reserved.