Interface InboundSourceData
- All Superinterfaces:
DebugDumpable,Serializable
- All Known Implementing Classes:
InboundSourceData.AssociationValue,InboundSourceData.Shadow
The source data for inbound mappings related to a single shadow or association value.
It covers:
- the object itself:
ShadowType or ShadowAssociationValue (before and after the change - if applicable)
- delta (sync delta or the delta computed in the previous wave)
Note that deltas are currently supported only for shadows, not for shadow association values.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionstatic InboundSourceDataforAssociationValue(@NotNull ShadowAssociationValue associationValue) static InboundSourceDataforShadow(@Nullable PrismObject<ShadowType> oldShadow, @Nullable PrismObject<ShadowType> currentShadow, @Nullable ObjectDelta<ShadowType> delta, boolean isDeltaEffective) static @NotNull InboundSourceDataforShadowLikeValue(@NotNull ShadowLikeValue shadowLikeValue, @Nullable ObjectDelta<ShadowType> resourceObjectDelta) The delta (if present) must be the sync delta.static InboundSourceDataforShadowWithoutDelta(@Nullable PrismObject<ShadowType> shadow) default ShadowAssociationValueTypeReturns the association value, for the purpose of setting expression variables.default <V extends PrismValue,D extends ItemDefinition<?>>
@Nullable ItemDelta<V,D> Delta that moves the item from the state at the beginning of the clockwork execution to the current state.<V extends PrismValue,D extends ItemDefinition<?>>
Item<V,D> getItemOld(@NotNull ItemPath itemPath) Returns the specific item, for the purpose of providing the mapping source (IDI).default PrismObject<ShadowType>Returns old or current shadow, for the purpose of setting expression variables.default booleandefault booleandefault booleanReturns true if there is no shadow (after change).default @NotNull InboundSourceDataupdateShadowAfterReload(@NotNull PrismObject<ShadowType> currentShadow) Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
getShadowVariableValue
Returns old or current shadow, for the purpose of setting expression variables. -
getAssociationVariableValue
Returns the association value, for the purpose of setting expression variables. -
getItemOld
<V extends PrismValue,D extends ItemDefinition<?>> Item<V,D> getItemOld(@NotNull @NotNull ItemPath itemPath) Returns the specific item, for the purpose of providing the mapping source (IDI). -
isNoShadow
default boolean isNoShadow()Returns true if there is no shadow (after change). -
updateShadowAfterReload
@NotNull default @NotNull InboundSourceData updateShadowAfterReload(@NotNull @NotNull PrismObject<ShadowType> currentShadow) -
hasSyncOrEffectiveDelta
default boolean hasSyncOrEffectiveDelta() -
hasEffectiveDelta
default boolean hasEffectiveDelta() -
getEffectiveItemDelta
@Nullable default <V extends PrismValue,D extends ItemDefinition<?>> @Nullable ItemDelta<V,D> getEffectiveItemDelta(ItemPath path) Delta that moves the item from the state at the beginning of the clockwork execution to the current state. NEVER the sync delta. Always the delta computed by the projector in the previous wave. -
forShadowWithoutDelta
-
forShadow
static InboundSourceData forShadow(@Nullable @Nullable PrismObject<ShadowType> oldShadow, @Nullable @Nullable PrismObject<ShadowType> currentShadow, @Nullable @Nullable ObjectDelta<ShadowType> delta, boolean isDeltaEffective) -
forAssociationValue
static InboundSourceData forAssociationValue(@NotNull @NotNull ShadowAssociationValue associationValue) -
forShadowLikeValue
@NotNull static @NotNull InboundSourceData forShadowLikeValue(@NotNull @NotNull ShadowLikeValue shadowLikeValue, @Nullable @Nullable ObjectDelta<ShadowType> resourceObjectDelta) The delta (if present) must be the sync delta.
-