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 String
getArchetypeOid()
Integer
getClassificationOrder()
@NotNull CorrelationDefinitionType
getCorrelationDefinition()
Returned definition contains legacy correlation definition, if there's any.@NotNull ResourceObjectTypeDelineation
getDelineation()
Combines legacy and new-style information.@NotNull Class<? extends FocusType>
getFocusClass()
Returns the focus class this synchronization policy points to.@NotNull String
getIntent()
@NotNull ShadowKindType
getKind()
@Nullable String
getName()
@NotNull QName
getObjectClassName()
@NotNull ResourceObjectTypeDefinition
getObjectTypeDefinition()
@NotNull List<SynchronizationReactionDefinition>
getReactions()
boolean
hasLegacyConfiguration()
boolean
isDefaultForClassification()
boolean
isOpportunistic()
boolean
isSynchronizationEnabled()
String
toString()
-
-
-
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()
-
-