Class SynchronizationContext<F extends FocusType>
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.sync.SynchronizationContext<F>
-
- All Implemented Interfaces:
DebugDumpable
public class SynchronizationContext<F extends FocusType> extends Object implements DebugDumpable
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description SynchronizationContext(@NotNull PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String channel, ModelBeans beans, Task task, String itemProcessingIdentifier)
-
Method Summary
-
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
-
-
-
-
Constructor Detail
-
SynchronizationContext
public SynchronizationContext(@NotNull @NotNull PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String channel, ModelBeans beans, Task task, String itemProcessingIdentifier)
-
-
Method Detail
-
isSynchronizationEnabled
public boolean isSynchronizationEnabled()
-
isProtected
public boolean isProtected()
-
getKind
public ShadowKindType getKind()
-
getIntent
public String getIntent() throws SchemaException
- Throws:
SchemaException
-
getTag
public String getTag()
-
setTag
public void setTag(String tag)
-
getCorrelation
public List<ConditionalSearchFilterType> getCorrelation()
-
getConfirmation
public ExpressionType getConfirmation()
-
getObjectTemplateRef
public ObjectReferenceType getObjectTemplateRef()
-
getReaction
public SynchronizationReactionType getReaction(OperationResult result) throws ConfigurationException, SchemaException, ObjectNotFoundException, CommunicationException, SecurityViolationException, ExpressionEvaluationException
-
hasApplicablePolicy
public boolean hasApplicablePolicy()
-
getPolicyName
public String getPolicyName()
-
isDoReconciliation
public Boolean isDoReconciliation()
-
getExecuteOptions
public ModelExecuteOptionsType getExecuteOptions()
-
isLimitPropagation
public Boolean isLimitPropagation()
-
getShadowedResourceObject
@NotNull public @NotNull PrismObject<ShadowType> getShadowedResourceObject()
-
getResource
public PrismObject<ResourceType> getResource()
-
getFocusClass
public Class<F> getFocusClass() throws SchemaException
- Throws:
SchemaException
-
getLinkedOwner
public F getLinkedOwner()
-
getCorrelatedOwner
public F getCorrelatedOwner()
-
getPrismContext
public PrismContext getPrismContext()
-
getSituation
public SynchronizationSituationType getSituation()
-
setObjectSynchronization
public void setObjectSynchronization(ObjectSynchronizationType objectSynchronization)
-
setLinkedOwner
public void setLinkedOwner(F owner)
-
setCorrelatedOwner
public void setCorrelatedOwner(F correlatedFocus)
-
setSituation
public void setSituation(SynchronizationSituationType situation)
-
getSystemConfiguration
public PrismObject<SystemConfigurationType> getSystemConfiguration()
-
getChannel
public String getChannel()
-
setResource
public void setResource(PrismObject<ResourceType> resource)
-
setSystemConfiguration
public void setSystemConfiguration(PrismObject<SystemConfigurationType> systemConfiguration)
-
setChannel
public void setChannel(String channel)
-
getExpressionProfile
public ExpressionProfile getExpressionProfile()
-
setExpressionProfile
public void setExpressionProfile(ExpressionProfile expressionProfile)
-
setReaction
public void setReaction(SynchronizationReactionType reaction)
-
getTask
public Task getTask()
-
isForceIntentChange
public boolean isForceIntentChange()
-
setForceIntentChange
public void setForceIntentChange(boolean forceIntentChange)
-
getItemProcessingIdentifier
public String getItemProcessingIdentifier()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
setSkipMaintenanceCheck
public static void setSkipMaintenanceCheck(boolean skipMaintenanceCheck)
-
-