Enum Class ActivityItemCountingOptionType

java.lang.Object
java.lang.Enum<ActivityItemCountingOptionType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityItemCountingOptionType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<ActivityItemCountingOptionType>, Constable

public enum ActivityItemCountingOptionType extends Enum<ActivityItemCountingOptionType> implements TypeSafeEnum
When are expected items in a bucket counted in an activity?
  • Enum Constant Details

    • ALWAYS

      public static final ActivityItemCountingOptionType ALWAYS
      The activity will always execute the items counting.
    • WHEN_NOT_BUCKETED

      public static final ActivityItemCountingOptionType WHEN_NOT_BUCKETED
      The activity counts the items only if it is not bucketed (i.e. does not support bucketing at all, or has a single "default" bucket only). The idea is that in this case the items count really matters in order to estimate the relative task progress.
    • WHEN_IN_REPOSITORY

      public static final ActivityItemCountingOptionType WHEN_IN_REPOSITORY
      The activity counts the items only if the item source resides in repository (the idea is that repository searches are faster than resource object searches).
    • WHEN_IN_REPOSITORY_AND_NOT_BUCKETED

      public static final ActivityItemCountingOptionType WHEN_IN_REPOSITORY_AND_NOT_BUCKETED
      The activity counts the items only if the item source resides in repository and the activity is not bucketed.
    • NEVER

      public static final ActivityItemCountingOptionType NEVER
      The activity does not count the items.
  • Method Details

    • values

      public static ActivityItemCountingOptionType[] 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 ActivityItemCountingOptionType 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
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static ActivityItemCountingOptionType fromValue(String v)