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
ConstructorDescriptionSimplePreInboundsContextImpl
(@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 String
Returns the archetype OID bound to the object type.@NotNull ModelBeans
getBeans()
Useful Spring beans.Returns the channel relevant to the current operation.@NotNull ResourceObjectDefinition
@NotNull ResourceType
@Nullable ObjectDelta<ShadowType>
@NotNull ShadowType
Returns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME@Nullable SystemConfigurationType
@NotNull Task
getTask()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.PreInboundsContext
getPreFocusAsPrismObject
Methods 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:ResourceObjectProcessingContext
Returns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME- Specified by:
getShadowedResourceObject
in interfaceResourceObjectProcessingContext
-
getPreFocus
- Specified by:
getPreFocus
in interfacePreInboundsContext<F extends FocusType>
-
getResourceObjectDelta
- Specified by:
getResourceObjectDelta
in interfacePreInboundsContext<F extends FocusType>
- Specified by:
getResourceObjectDelta
in interfaceResourceObjectProcessingContext
-
getSystemConfiguration
- Specified by:
getSystemConfiguration
in interfaceResourceObjectProcessingContext
-
getTask
- Specified by:
getTask
in interfaceResourceObjectProcessingContext
-
getBeans
Description copied from interface:ResourceObjectProcessingContext
Useful Spring beans.- Specified by:
getBeans
in interfaceResourceObjectProcessingContext
-
getResource
- Specified by:
getResource
in interfaceResourceObjectProcessingContext
-
getObjectDefinitionRequired
- Specified by:
getObjectDefinitionRequired
in interfacePreInboundsContext<F extends FocusType>
-
getArchetypeOid
Description copied from interface:PreInboundsContext
Returns the archetype OID bound to the object type. Archetypes determined from the focus itself are not returned here.- Specified by:
getArchetypeOid
in interfacePreInboundsContext<F extends FocusType>
-
getChannel
Description copied from interface:ResourceObjectProcessingContext
Returns the channel relevant to the current operation. It may be a channel fromResourceObjectShadowChangeDescription
or from a task.- Specified by:
getChannel
in interfaceResourceObjectProcessingContext
-
toString
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-