Class ContextFactory
java.lang.Object
com.evolveum.midpoint.model.impl.lens.ContextFactory
- Author:
- semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<F extends ObjectType>
LensContext<F>createContext
(@NotNull Collection<ObjectDelta<? extends ObjectType>> deltas, @Nullable ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result) Creates aLensContext
from a set of deltas (to be executed or previewed).<F extends ObjectType,
O extends ObjectType>
LensContext<F>createRecomputeContext
(@NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result) <F extends ObjectType>
LensContext<F>createSyncContext
(Class<F> focusClass, ResourceObjectShadowChangeDescription change, Task task) Creates empty lens context for synchronization purposes, filling in only the very basic metadata (such as channel).
-
Constructor Details
-
ContextFactory
public ContextFactory()
-
-
Method Details
-
createContext
public <F extends ObjectType> LensContext<F> createContext(@NotNull @NotNull Collection<ObjectDelta<? extends ObjectType>> deltas, @Nullable @Nullable ModelExecuteOptions options, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException Creates aLensContext
from a set of deltas (to be executed or previewed). -
createRecomputeContext
public <F extends ObjectType,O extends ObjectType> LensContext<F> createRecomputeContext(@NotNull @NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException -
createSyncContext
public <F extends ObjectType> LensContext<F> createSyncContext(Class<F> focusClass, ResourceObjectShadowChangeDescription change, Task task) Creates empty lens context for synchronization purposes, filling in only the very basic metadata (such as channel).
-