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 using SynchronizationPolicyFactory.
  • Method Details

    • 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()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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<? extends SynchronizationReactionDefinition.ObjectSynchronizationReactionDefinition> getReactions()
    • hasLegacyConfiguration

      public boolean hasLegacyConfiguration()
    • getClassificationOrder

      public Integer getClassificationOrder()
    • isDefaultForClassification

      public boolean isDefaultForClassification()