Enum Class SynchronizationTaskFlavor

java.lang.Object
java.lang.Enum<SynchronizationTaskFlavor>
com.evolveum.midpoint.web.page.admin.resources.SynchronizationTaskFlavor
All Implemented Interfaces:
Serializable, Comparable<SynchronizationTaskFlavor>, Constable

public enum SynchronizationTaskFlavor extends Enum<SynchronizationTaskFlavor>
We recognize several flavors of synchronization tasks: import, reconciliation, live sync, and async update; later maybe others. This enum is used to distinguish them. We do not use archetype OID for this, as that is quite technical and too broad a term. Moreover, here we can attach some common functionality to avoid excessive use of branching ("if" commands).
  • Enum Constant Details

  • Method Details

    • values

      public static SynchronizationTaskFlavor[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SynchronizationTaskFlavor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getArchetypeOid

      @NotNull public @NotNull String getArchetypeOid()
    • createWorkDefinitions

      @NotNull public @NotNull WorkDefinitionsType createWorkDefinitions(@Nullable @Nullable ResourceObjectSetType resourceObjectSet)