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(PrismObject<ShadowType> applicableShadow, PrismObject<ShadowType> currentShadow, PrismObject<ResourceType> resource, String channel, PrismContext prismContext, Task task, OperationResult result)
-
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(PrismObject<ShadowType> applicableShadow, PrismObject<ShadowType> currentShadow, PrismObject<ResourceType> resource, String channel, PrismContext prismContext, Task task, OperationResult result)
-
-
Method Detail
-
isSynchronizationEnabled
public boolean isSynchronizationEnabled()
-
isProtected
public boolean isProtected()
-
isSatisfyTaskConstraints
public boolean isSatisfyTaskConstraints() throws SchemaException
- Throws:
SchemaException
-
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() throws ConfigurationException
- Throws:
ConfigurationException
-
hasApplicablePolicy
public boolean hasApplicablePolicy()
-
getPolicyName
public String getPolicyName()
-
isDoReconciliation
public Boolean isDoReconciliation()
-
isLimitPropagation
public Boolean isLimitPropagation()
-
getApplicableShadow
public PrismObject<ShadowType> getApplicableShadow()
-
getCurrentShadow
public PrismObject<ShadowType> getCurrentShadow()
-
getResource
public PrismObject<ResourceType> getResource()
-
getFocusClass
public Class<F> getFocusClass() throws SchemaException
- Throws:
SchemaException
-
getCurrentOwner
public F getCurrentOwner()
-
getCorrelatedOwner
public F getCorrelatedOwner()
-
getPrismContext
public PrismContext getPrismContext()
-
getSituation
public SynchronizationSituationType getSituation()
-
setObjectSynchronization
public void setObjectSynchronization(ObjectSynchronizationType objectSynchronization)
-
setCurrentOwner
public void setCurrentOwner(F owner)
-
setCorrelatedOwner
public void setCorrelatedOwner(F correlatedFocus)
-
setSituation
public void setSituation(SynchronizationSituationType situation)
-
getSystemConfiguration
public PrismObject<SystemConfigurationType> getSystemConfiguration()
-
getChannel
public String getChannel()
-
setApplicableShadow
public void setApplicableShadow(PrismObject<ShadowType> applicableShadow)
-
setCurrentShadow
public void setCurrentShadow(PrismObject<ShadowType> currentShadow)
-
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)
-
isUnrelatedChange
public boolean isUnrelatedChange()
-
setUnrelatedChange
public void setUnrelatedChange(boolean unrelatedChange)
-
getTask
public Task getTask()
-
setTask
public void setTask(Task task)
-
getResult
public OperationResult getResult()
-
setResult
public void setResult(OperationResult result)
-
isShadowExistsInRepo
public boolean isShadowExistsInRepo()
-
setShadowExistsInRepo
public void setShadowExistsInRepo(boolean shadowExistsInRepo)
-
isForceIntentChange
public boolean isForceIntentChange()
-
setForceIntentChange
public void setForceIntentChange(boolean forceIntentChange)
-
findRefinedObjectClassDefinition
public RefinedObjectClassDefinition findRefinedObjectClassDefinition() throws SchemaException
- Throws:
SchemaException
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-