Class SimplePreInboundsContextImpl<F extends FocusType>
java.lang.Object
com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.SimplePreInboundsContextImpl<F>
- All Implemented Interfaces:
PreInboundsContext<F>,ResourceObjectProcessingContext,DebugDumpable
public class SimplePreInboundsContextImpl<F extends FocusType>
extends Object
implements PreInboundsContext<F>
Minimalistic context needed to evaluate inbound mappings outside of both
LensContext
and SynchronizationContext.
It is used e.g. when a correlation is invoked as part
of MidpointFunctions.findCandidateOwners(Class, ShadowType, String, ShadowKindType, String)
or CorrelationServiceImpl.checkCandidateOwner(ShadowType, ResourceType, SynchronizationPolicy, FocusType, Task, OperationResult) method call.-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionSimplePreInboundsContextImpl(@NotNull ShadowType shadowedResourceObject, @NotNull ResourceType resource, F preFocus, @Nullable SystemConfigurationType systemConfiguration, @NotNull Task task, @NotNull ResourceObjectTypeDefinition objectTypeDefinition, @NotNull ModelBeans beans) -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) @Nullable StringReturns the archetype OID bound to the object type.@NotNull ModelBeansgetBeans()Useful Spring beans.Returns the channel relevant to the current operation.@NotNull ResourceObjectDefinition@NotNull ResourceType@Nullable ObjectDelta<ShadowType>@NotNull ShadowTypeReturns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME@Nullable SystemConfigurationType@NotNull TaskgetTask()toString()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.lens.projector.focus.inbounds.PreInboundsContext
getPreFocusAsPrismObjectMethods inherited from interface com.evolveum.midpoint.model.impl.ResourceObjectProcessingContext
createDefaultVariablesMap, createVariablesMap
-
Constructor Details
-
SimplePreInboundsContextImpl
public SimplePreInboundsContextImpl(@NotNull @NotNull ShadowType shadowedResourceObject, @NotNull @NotNull ResourceType resource, @NotNull F preFocus, @Nullable @Nullable SystemConfigurationType systemConfiguration, @NotNull @NotNull Task task, @NotNull @NotNull ResourceObjectTypeDefinition objectTypeDefinition, @NotNull @NotNull ModelBeans beans)
-
-
Method Details
-
getShadowedResourceObject
Description copied from interface:ResourceObjectProcessingContextReturns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME- Specified by:
getShadowedResourceObjectin interfaceResourceObjectProcessingContext
-
getPreFocus
- Specified by:
getPreFocusin interfacePreInboundsContext<F extends FocusType>
-
getResourceObjectDelta
- Specified by:
getResourceObjectDeltain interfacePreInboundsContext<F extends FocusType>- Specified by:
getResourceObjectDeltain interfaceResourceObjectProcessingContext
-
getSystemConfiguration
- Specified by:
getSystemConfigurationin interfaceResourceObjectProcessingContext
-
getTask
- Specified by:
getTaskin interfaceResourceObjectProcessingContext
-
getBeans
Description copied from interface:ResourceObjectProcessingContextUseful Spring beans.- Specified by:
getBeansin interfaceResourceObjectProcessingContext
-
getResource
- Specified by:
getResourcein interfaceResourceObjectProcessingContext
-
getObjectDefinitionRequired
- Specified by:
getObjectDefinitionRequiredin interfacePreInboundsContext<F extends FocusType>
-
getArchetypeOid
Description copied from interface:PreInboundsContextReturns the archetype OID bound to the object type. Archetypes determined from the focus itself are not returned here.- Specified by:
getArchetypeOidin interfacePreInboundsContext<F extends FocusType>
-
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
-
toString
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-