Class DefaultSingleShadowInboundsProcessingContextImpl<T extends Containerable>
java.lang.Object
com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.DefaultSingleShadowInboundsProcessingContextImpl<T>
- All Implemented Interfaces:
SingleShadowInboundsProcessingContext<T>,ResourceObjectProcessingContext,DebugDumpable
public class DefaultSingleShadowInboundsProcessingContextImpl<T extends Containerable>
extends Object
implements SingleShadowInboundsProcessingContext<T>
Minimalistic context needed to evaluate inbound mappings outside of both
LensContext
and SynchronizationContext.
It is used e.g. when a mappings evaluation is invoked as part of
- MidpointFunctions.findCandidateOwners(Class, ShadowType, String, ShadowKindType, String),
- CorrelationServiceImpl.checkCandidateOwner(ShadowType, ResourceType, SynchronizationPolicy, FocusType, Task, OperationResult),
- or association value synchronization.
Does NOT support deltas.-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSingleShadowInboundsProcessingContextImpl(@NotNull ShadowLikeValue shadowLikeValue, @NotNull ResourceType resource, @NotNull InboundMappingContextSpecification mappingContextSpecification, T preFocus, @Nullable SystemConfigurationType systemConfiguration, @NotNull Task task, @NotNull ResourceObjectDefinition objectDefinition, @NotNull ResourceObjectInboundProcessingDefinition inboundProcessingDefinition, boolean beforeCorrelation) -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) @Nullable StringReturns the archetype OID bound to the object type.Returns the channel relevant to the current operation.@NotNull InboundMappingContextSpecificationBackground information for value provenance metadata for inbound mappings related to this shadow.@NotNull ResourceObjectDefinition@NotNull ResourceType@Nullable ObjectDelta<ShadowType>This is always the sync delta (if not null).@NotNull ShadowLikeValueReturns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME@Nullable SystemConfigurationType@NotNull TaskgetTask()booleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.model.impl.ResourceObjectProcessingContext
createDefaultVariablesMap, createVariablesMap, getShadowIfPresent, getShadowRequiredMethods inherited from interface com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.SingleShadowInboundsProcessingContext
getPreFocusAsPcv
-
Constructor Details
-
DefaultSingleShadowInboundsProcessingContextImpl
public DefaultSingleShadowInboundsProcessingContextImpl(@NotNull @NotNull ShadowLikeValue shadowLikeValue, @NotNull @NotNull ResourceType resource, @NotNull @NotNull InboundMappingContextSpecification mappingContextSpecification, @NotNull T preFocus, @Nullable @Nullable SystemConfigurationType systemConfiguration, @NotNull @NotNull Task task, @NotNull @NotNull ResourceObjectDefinition objectDefinition, @NotNull @NotNull ResourceObjectInboundProcessingDefinition inboundProcessingDefinition, boolean beforeCorrelation)
-
-
Method Details
-
getShadowLikeValue
Description copied from interface:ResourceObjectProcessingContextReturns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME- Specified by:
getShadowLikeValuein interfaceResourceObjectProcessingContext
-
getPreFocus
- Specified by:
getPreFocusin interfaceSingleShadowInboundsProcessingContext<T extends Containerable>
-
getResourceObjectDelta
Description copied from interface:ResourceObjectProcessingContextThis is always the sync delta (if not null).- Specified by:
getResourceObjectDeltain interfaceResourceObjectProcessingContext
-
getSystemConfiguration
- Specified by:
getSystemConfigurationin interfaceResourceObjectProcessingContext
-
getTask
- Specified by:
getTaskin interfaceResourceObjectProcessingContext
-
getResource
- Specified by:
getResourcein interfaceResourceObjectProcessingContext
-
getMappingContextSpecification
Description copied from interface:SingleShadowInboundsProcessingContextBackground information for value provenance metadata for inbound mappings related to this shadow.- Specified by:
getMappingContextSpecificationin interfaceSingleShadowInboundsProcessingContext<T extends Containerable>
-
getObjectDefinitionRequired
Description copied from interface:SingleShadowInboundsProcessingContext- Specified by:
getObjectDefinitionRequiredin interfaceSingleShadowInboundsProcessingContext<T extends Containerable>
-
getInboundProcessingDefinition
- Specified by:
getInboundProcessingDefinitionin interfaceSingleShadowInboundsProcessingContext<T extends Containerable>
-
getArchetypeOid
Description copied from interface:SingleShadowInboundsProcessingContextReturns the archetype OID bound to the object type. Archetypes determined from the focus itself are not returned here.- Specified by:
getArchetypeOidin interfaceSingleShadowInboundsProcessingContext<T extends Containerable>
-
getChannel
Description copied from interface:ResourceObjectProcessingContextReturns the channel relevant to the current operation. It may be a channel fromResourceObjectShadowChangeDescriptionor from a task.- Specified by:
getChannelin interfaceResourceObjectProcessingContext
-
isBeforeCorrelation
public boolean isBeforeCorrelation()- Specified by:
isBeforeCorrelationin interfaceSingleShadowInboundsProcessingContext<T extends Containerable>
-
toString
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-