Enum Class SkipWhenFocusDeleted

java.lang.Object
java.lang.Enum<SkipWhenFocusDeleted>
com.evolveum.midpoint.model.impl.lens.projector.util.SkipWhenFocusDeleted
All Implemented Interfaces:
Serializable, Comparable<SkipWhenFocusDeleted>, Constable

public enum SkipWhenFocusDeleted extends Enum<SkipWhenFocusDeleted>
Should we skip the processing if the focus is going to be deleted?
  • Enum Constant Details

    • NONE

      public static final SkipWhenFocusDeleted NONE
      No. Processor should be always executed.
    • PRIMARY

      public static final SkipWhenFocusDeleted PRIMARY
      Yes. Processor should be skipped if the primary delta is DELETE. TODO Do we really need this? It was created by inspecting existing code. Maybe NONE + PRIMARY_OR_SECONDARY (i.e. simple false/true flag) is sufficient.
    • PRIMARY_OR_SECONDARY

      public static final SkipWhenFocusDeleted PRIMARY_OR_SECONDARY
      Yes. Processor should be skipped if the primary or secondary delta is DELETE.
  • Method Details

    • values

      public static SkipWhenFocusDeleted[] 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 SkipWhenFocusDeleted 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