Class ItemsCorrelator
java.lang.Object
com.evolveum.midpoint.model.impl.correlator.BaseCorrelator<ItemsCorrelatorType>
com.evolveum.midpoint.model.impl.correlator.items.ItemsCorrelator
- All Implemented Interfaces:
Correlator
A "user-friendly" correlator based on a list of items that need to be matched between the source
(usually the pre-focus, but a shadow is acceptable here as well), and the target (set of focal objects).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.correlator.BaseCorrelator
BaseCorrelator.ConfidenceValueProvider -
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.correlator.BaseCorrelator
beans, configurationBean, correlatorContext, MAX_CANDIDATES, typeName -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull ConfidencecheckCandidateOwnerInternal(@NotNull CorrelationContext correlationContext, @NotNull FocusType candidateOwner, @NotNull OperationResult result) @NotNull CorrelationResultcorrelateInternal(@NotNull CorrelationContext correlationContext, @NotNull OperationResult result) protected @NotNull CorrelationExplanationexplainInternal(@NotNull CorrelationContext correlationContext, @NotNull FocusType candidateOwner, @NotNull OperationResult result) This the default implementation, to be overridden in subclasses.@NotNull Collection<CorrelationPropertyDefinition>getCorrelationPropertiesDefinitions(PrismObjectDefinition<? extends FocusType> focusDefinition, @NotNull Task task, @NotNull OperationResult result) Returns the correlation properties this correlator uses to do the correlation.Methods inherited from class com.evolveum.midpoint.model.impl.correlator.BaseCorrelator
checkCandidateOwner, correlate, createResult, determineConfidence, explain, getDefaultContextDescription, instantiateChildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.model.api.correlator.Correlator
resolve, update
-
Method Details
-
correlateInternal
@NotNull public @NotNull CorrelationResult correlateInternal(@NotNull @NotNull CorrelationContext correlationContext, @NotNull @NotNull OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException -
explainInternal
@NotNull protected @NotNull CorrelationExplanation explainInternal(@NotNull @NotNull CorrelationContext correlationContext, @NotNull @NotNull FocusType candidateOwner, @NotNull @NotNull OperationResult result) throws ConfigurationException, SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ObjectNotFoundException Description copied from class:BaseCorrelatorThis the default implementation, to be overridden in subclasses. -
checkCandidateOwnerInternal
@NotNull protected @NotNull Confidence checkCandidateOwnerInternal(@NotNull @NotNull CorrelationContext correlationContext, @NotNull @NotNull FocusType candidateOwner, @NotNull @NotNull OperationResult result) throws ConfigurationException, SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ObjectNotFoundException -
getCorrelationPropertiesDefinitions
@NotNull public @NotNull Collection<CorrelationPropertyDefinition> getCorrelationPropertiesDefinitions(PrismObjectDefinition<? extends FocusType> focusDefinition, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws ConfigurationException Description copied from interface:CorrelatorReturns the correlation properties this correlator uses to do the correlation. These are then e.g. displayed in the correlation case resolution window. May not be completely supported by all correlators. If the optional focus definition is present, theCorrelationPropertyDefinitionobjects returned are more precise: the paths are qualified (if possible), and the respective item definitions are set (again, if possible).- Throws:
ConfigurationException
-