Class CorrelationContext
- java.lang.Object
-
- com.evolveum.midpoint.model.api.correlation.CorrelationContext
-
- All Implemented Interfaces:
DebugDumpable,Cloneable
public class CorrelationContext extends Object implements DebugDumpable, Cloneable
The context of the correlation and correlator state update operations. (Both work on an object being synchronized. The use in the latter case is experimental, though.) Created by _the caller_ ofCorrelator.correlate(CorrelationContext, OperationResult)method, but then updated by the method implementation(s) themselves. Not to be confused withCorrelatorContextwhich describes the context of the wholeCorrelatorlifespan.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CorrelationContext(@NotNull ShadowType resourceObject, @NotNull FocusType preFocus, @NotNull ResourceType resource, @NotNull ResourceObjectDefinition objectDefinition, @Nullable ObjectTemplateType currentObjectTemplate, @Nullable SystemConfigurationType systemConfiguration, @NotNull com.evolveum.midpoint.task.api.Task task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorrelationContextclone()A simple shallow clone.StringdebugDump(int indent)@Nullable StringgetArchetypeOid()AbstractCorrelatorStateTypegetCorrelatorState()@NotNull Class<? extends ObjectType>getFocusType()@NotNull FocusTypegetPreFocus()@NotNull ResourceTypegetResource()@NotNull ShadowTypegetResourceObject()@NotNull ResourceObjectDefinitiongetResourceObjectDefinition()@Nullable SystemConfigurationTypegetSystemConfiguration()@NotNull com.evolveum.midpoint.task.api.TaskgetTask()voidsetCorrelatorState(AbstractCorrelatorStateType correlatorState)StringtoString()-
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 Detail
-
CorrelationContext
public CorrelationContext(@NotNull @NotNull ShadowType resourceObject, @NotNull @NotNull FocusType preFocus, @NotNull @NotNull ResourceType resource, @NotNull @NotNull ResourceObjectDefinition objectDefinition, @Nullable @Nullable ObjectTemplateType currentObjectTemplate, @Nullable @Nullable SystemConfigurationType systemConfiguration, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task)
-
-
Method Detail
-
getResourceObject
@NotNull public @NotNull ShadowType getResourceObject()
-
getPreFocus
@NotNull public @NotNull FocusType getPreFocus()
-
getFocusType
@NotNull public @NotNull Class<? extends ObjectType> getFocusType()
-
getArchetypeOid
@Nullable public @Nullable String getArchetypeOid()
-
getResource
@NotNull public @NotNull ResourceType getResource()
-
getResourceObjectDefinition
@NotNull public @NotNull ResourceObjectDefinition getResourceObjectDefinition()
-
getSystemConfiguration
@Nullable public @Nullable SystemConfigurationType getSystemConfiguration()
-
getCorrelatorState
public AbstractCorrelatorStateType getCorrelatorState()
-
setCorrelatorState
public void setCorrelatorState(AbstractCorrelatorStateType correlatorState)
-
getTask
@NotNull public @NotNull com.evolveum.midpoint.task.api.Task getTask()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
clone
public CorrelationContext clone()
A simple shallow clone. Use with care.
-
-