Package com.evolveum.midpoint.prism
Enum Class ConsistencyCheckScope
- All Implemented Interfaces:
- Serializable,- Comparable<ConsistencyCheckScope>,- Constable
Determines the scope of consistency checks.
 (Originally this was a boolean, but there are many 'checkConsistence'-style methods with a set of boolean arguments,
 so it was too easy to mix them up with this new one.)
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConsistencyCheckScopefromBoolean(boolean consistencyChecksSwitchValue) booleanstatic ConsistencyCheckScopeReturns the enum constant of this class with the specified name.static ConsistencyCheckScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
THOROUGHFull-scale checks.
- 
MANDATORY_CHECKS_ONLYMandatory checks, e.g. checks for duplicate container IDs (see MID-1951). Should be rather quick. TODO Current solution is not that optimal. We should distinguish between checks that deal with midPoint internal workings (throwing IllegalArgumentException/IllegalStateException on failure), which can be turned off, as it is today. Another set of checks should be applied only on users' inputs (when importing data, when accepting inputs via SOAP/REST/whathever interfaces, ...) - and these should throw perhaps SchemaException that can be caught and handled appropriately. However, for the time being we consider this approach (i.e. that both kinds of checks are implemented the same way) to be an acceptable one.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isThoroughpublic boolean isThorough()
- 
fromBoolean
 
-