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 withCorrelatorContext
which describes the context of the wholeCorrelator
lifespan.
-
-
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 Task task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorrelationContext
clone()
A simple shallow clone.String
debugDump(int indent)
@Nullable String
getArchetypeOid()
AbstractCorrelatorStateType
getCorrelatorState()
@NotNull Class<? extends ObjectType>
getFocusType()
@NotNull FocusType
getPreFocus()
@NotNull ResourceType
getResource()
@NotNull ShadowType
getResourceObject()
@NotNull ResourceObjectDefinition
getResourceObjectDefinition()
@Nullable SystemConfigurationType
getSystemConfiguration()
@NotNull Task
getTask()
void
setCorrelatorState(AbstractCorrelatorStateType correlatorState)
String
toString()
-
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 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 Task getTask()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
clone
public CorrelationContext clone()
A simple shallow clone. Use with care.
-
-