Class SynchronizationPolicy
- java.lang.Object
-
- com.evolveum.midpoint.schema.processor.SynchronizationPolicy
-
public class SynchronizationPolicy extends Object
Information needed to carry out synchronization-related activities (classification, correlation, and execution of synchronization reactions). This class exists to unify the "legacy" way of specifying this information (in `synchronization` section of resource definition) and "modern" one - right in `schemaHandling` part. Created usingSynchronizationPolicyFactory.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetArchetypeOid()IntegergetClassificationOrder()@NotNull CorrelationDefinitionTypegetCorrelationDefinition()Returned definition contains legacy correlation definition, if there's any.@NotNull ResourceObjectTypeDelineationgetDelineation()Combines legacy and new-style information.@NotNull Class<? extends FocusType>getFocusClass()Returns the focus class this synchronization policy points to.@NotNull StringgetIntent()@NotNull ShadowKindTypegetKind()@Nullable StringgetName()@NotNull QNamegetObjectClassName()@NotNull ResourceObjectTypeDefinitiongetObjectTypeDefinition()@NotNull List<SynchronizationReactionDefinition>getReactions()booleanhasLegacyConfiguration()booleanisDefaultForClassification()booleanisOpportunistic()booleanisSynchronizationEnabled()StringtoString()
-
-
-
Method Detail
-
getKind
@NotNull public @NotNull ShadowKindType getKind()
-
getIntent
@NotNull public @NotNull String getIntent()
-
isSynchronizationEnabled
public boolean isSynchronizationEnabled()
-
isOpportunistic
public boolean isOpportunistic()
-
getName
@Nullable public @Nullable String getName()
-
getObjectTypeDefinition
@NotNull public @NotNull ResourceObjectTypeDefinition getObjectTypeDefinition()
-
getFocusClass
@NotNull public @NotNull Class<? extends FocusType> getFocusClass()
Returns the focus class this synchronization policy points to.
-
getArchetypeOid
@Nullable public @Nullable String getArchetypeOid()
-
getCorrelationDefinition
@NotNull public @NotNull CorrelationDefinitionType getCorrelationDefinition()
Returned definition contains legacy correlation definition, if there's any.
-
getDelineation
@NotNull public @NotNull ResourceObjectTypeDelineation getDelineation()
Combines legacy and new-style information.
-
getObjectClassName
@NotNull public @NotNull QName getObjectClassName()
-
getReactions
@NotNull public @NotNull List<SynchronizationReactionDefinition> getReactions()
-
hasLegacyConfiguration
public boolean hasLegacyConfiguration()
-
getClassificationOrder
public Integer getClassificationOrder()
-
isDefaultForClassification
public boolean isDefaultForClassification()
-
-