Class ShadowMarkingRules
java.lang.Object
com.evolveum.midpoint.schema.processor.ShadowMarkingRules
- All Implemented Interfaces:
DebugDumpable
,Serializable
Rules that drive automatic shadow marking.
They are derived from
ShadowMarkingConfigurationType
.
1. During parsing, filter beans are converted into filters; but expressions are not evaluated.
2. Only after a provisioning operation starts, expressions (if any) are evaluated.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
TODO deduplicate with the similar interface in ReferenceResolver in model-api.static class
Rule for a single shadow mark. -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionboolean
debugDump
(int indent) evaluateExpressions
(@NotNull ShadowMarkingRules.FilterExpressionEvaluator evaluator, @NotNull OperationResult result) Returns the same rules but with expressions evaluated.@NotNull Map<String,
ShadowMarkingRules.MarkingRule> static ShadowMarkingRules
parse
(@NotNull AbstractResourceObjectDefinitionConfigItem<?> definitionCI, @NotNull AbstractResourceObjectDefinitionImpl definition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
parse
public static ShadowMarkingRules parse(@NotNull @NotNull AbstractResourceObjectDefinitionConfigItem<?> definitionCI, @NotNull @NotNull AbstractResourceObjectDefinitionImpl definition) throws ConfigurationException - Throws:
ConfigurationException
-
getMarkingRulesMap
-
areExpressionsEvaluated
public boolean areExpressionsEvaluated() -
evaluateExpressions
public ShadowMarkingRules evaluateExpressions(@NotNull @NotNull ShadowMarkingRules.FilterExpressionEvaluator evaluator, @NotNull @NotNull OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException Returns the same rules but with expressions evaluated. -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-