java.lang.Object
java.lang.Enum<DataNeed>
com.evolveum.midpoint.repo.common.activity.policy.DataNeed
All Implemented Interfaces:
Serializable, Comparable<DataNeed>, Constable

public enum DataNeed extends Enum<DataNeed>
What data does a specific policy rule or policy rule constraint need in order to be evaluated. We need this to determine what data to collect from the activity tree in order to evaluate the policies.
  • Enum Constant Details

    • EXECUTION_TIME

      public static final DataNeed EXECUTION_TIME
      Total execution time of the activity (and its sub-activities).
    • EXECUTION_ATTEMPTS

      public static final DataNeed EXECUTION_ATTEMPTS
      Number of execution attempts of the activity.
    • COUNTERS

      public static final DataNeed COUNTERS
      Policy rule counters.
  • Method Details

    • values

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