Class CorrelatorContext<C extends AbstractCorrelatorType>
- java.lang.Object
-
- com.evolveum.midpoint.model.api.correlator.CorrelatorContext<C>
-
- All Implemented Interfaces:
DebugDumpable
public class CorrelatorContext<C extends AbstractCorrelatorType> extends Object implements DebugDumpable
Overall context in which the correlator works. Differs fromCorrelationContext
in that the latter covers only a single correlation operation. The former covers the whole life of a correlator, and operations other than correlation.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CorrelatorContext(@NotNull CorrelatorConfiguration configuration, @NotNull AbstractCorrelatorType originalConfigurationBean, @Nullable CorrelationDefinitionType correlationDefinitionBean, @Nullable SystemConfigurationType systemConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump(int indent)
Object
dumpXmlLazily()
@NotNull CorrelatorConfiguration
getConfiguration()
C
getConfigurationBean()
@Nullable CorrelationDefinitionType
getCorrelationDefinitionBean()
@NotNull Map<String,CorrelationItemDefinitionType>
getItemDefinitionsMap()
Returns all relevant named item definitions - from this context and all its parents.@NotNull CorrelationItemDefinitionType
getNamedItemDefinition(String ref)
Returns the named item definition.@NotNull AbstractCorrelatorType
getOriginalConfigurationBean()
@NotNull ItemRoute
getSourcePlaceRoute()
Returns the path to the "source place" in the object being correlated.@Nullable SystemConfigurationType
getSystemConfiguration()
@NotNull ItemRoute
getTargetPlaceRoute(@Nullable String qualifier)
@NotNull Map<String,ItemRoute>
getTargetPlaces()
boolean
shouldCreateCases()
-
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
-
-
-
-
Constructor Detail
-
CorrelatorContext
public CorrelatorContext(@NotNull @NotNull CorrelatorConfiguration configuration, @NotNull @NotNull AbstractCorrelatorType originalConfigurationBean, @Nullable @Nullable CorrelationDefinitionType correlationDefinitionBean, @Nullable @Nullable SystemConfigurationType systemConfiguration)
-
-
Method Detail
-
getConfigurationBean
@NotNull public C getConfigurationBean()
-
getConfiguration
@NotNull public @NotNull CorrelatorConfiguration getConfiguration()
-
shouldCreateCases
public boolean shouldCreateCases()
-
getSourcePlaceRoute
@NotNull public @NotNull ItemRoute getSourcePlaceRoute()
Returns the path to the "source place" in the object being correlated.
-
getTargetPlaceRoute
@NotNull public @NotNull ItemRoute getTargetPlaceRoute(@Nullable @Nullable String qualifier)
-
getNamedItemDefinition
@NotNull public @NotNull CorrelationItemDefinitionType getNamedItemDefinition(String ref) throws ConfigurationException
Returns the named item definition.- Throws:
ConfigurationException
-
getItemDefinitionsMap
@NotNull public @NotNull Map<String,CorrelationItemDefinitionType> getItemDefinitionsMap()
Returns all relevant named item definitions - from this context and all its parents.
-
getOriginalConfigurationBean
@NotNull public @NotNull AbstractCorrelatorType getOriginalConfigurationBean()
-
getCorrelationDefinitionBean
@Nullable public @Nullable CorrelationDefinitionType getCorrelationDefinitionBean()
-
getSystemConfiguration
@Nullable public @Nullable SystemConfigurationType getSystemConfiguration()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
dumpXmlLazily
public Object dumpXmlLazily()
-
-