Class CorrelationContext.AssociationValue
java.lang.Object
com.evolveum.midpoint.model.api.correlation.CorrelationContext
com.evolveum.midpoint.model.api.correlation.CorrelationContext.AssociationValue
- All Implemented Interfaces:
DebugDumpable
,Cloneable
- Enclosing class:
- CorrelationContext
Context for correlating an association value to a set of matching focus assignments.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.api.correlation.CorrelationContext
CorrelationContext.AssociationValue, CorrelationContext.Focus, CorrelationContext.Shadow
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionAssociationValue
(@NotNull ShadowAssociationValue associationValue, @NotNull Containerable preFocus, @Nullable Collection<? extends Containerable> candidatePool, @Nullable SystemConfigurationType systemConfiguration, @NotNull Task task) -
Method Summary
Modifier and TypeMethodDescription@NotNull CorrelationContext.Shadow
@Nullable String
Returns the archetype for focus objects that the candidate(s) must possess.Returns candidate owners provided by previous correlator(s), if any.@NotNull Containerable
Returns the object (e.g. shadow or focus or its part) that is being correlated.toString()
Methods inherited from class com.evolveum.midpoint.model.api.correlation.CorrelationContext
clone, debugDump, getCandidatePool, getCorrelatorState, getFocusContainerableType, getFocusType, getPreFocus, getPreFocusContainerable, getSystemConfiguration, getTask, setCorrelatorState
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
AssociationValue
public AssociationValue(@NotNull @NotNull ShadowAssociationValue associationValue, @NotNull @NotNull Containerable preFocus, @Nullable @Nullable Collection<? extends Containerable> candidatePool, @Nullable @Nullable SystemConfigurationType systemConfiguration, @NotNull @NotNull Task task)
-
-
Method Details
-
getArchetypeOid
Description copied from class:CorrelationContext
Returns the archetype for focus objects that the candidate(s) must possess. Null means "no restrictions".- Specified by:
getArchetypeOid
in classCorrelationContext
-
getCandidateOids
Description copied from class:CorrelationContext
Returns candidate owners provided by previous correlator(s), if any. Background: If more child correlators are defined to be used, they will run separately (at least under the default implementation of the composite correlator), one after another. The original implementation executed each of the correlators independently, so that (typically) each of them issued its own query over all population of focus objects. The results were then combined by the composite correlator. However, there might be situations where subsequent correlators should just _refine_ the results returned by previous one(s). For that, we want to retain the relevant candidate owner(s) OID(s) in the context, and use that to limit search within those correlators. Empty set means "no previous candidates available", i.e. no restrictions will be applied. LIMITED USE. Currently used only "identification recovery" feature - forCorrelationContext.Focus
context and `items` correlator.- Specified by:
getCandidateOids
in classCorrelationContext
-
asShadowCtx
- Specified by:
asShadowCtx
in classCorrelationContext
-
toString
-