Enum Class AccessCertificationCaseOutcomeStrategyType

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

public enum AccessCertificationCaseOutcomeStrategyType extends Enum<AccessCertificationCaseOutcomeStrategyType> implements TypeSafeEnum
An enumeration that defines possible strategies for case outcome (approval) computation - currently both at the stage and campaign level. (In the future, these uses might be split.)
  • Enum Constant Details

    • ONE_ACCEPT_ACCEPTS

      public static final AccessCertificationCaseOutcomeStrategyType ONE_ACCEPT_ACCEPTS
      If at least one reviewer approves, the result is "APPROVED" regardless of the other votes.
    • ONE_DENY_DENIES

      public static final AccessCertificationCaseOutcomeStrategyType ONE_DENY_DENIES
      If at least one reviewer denies (either via revoke or reduce), the result is "NOT APPROVED". However, for the case to be approved, at least approval must be present.
    • ACCEPTED_IF_NOT_DENIED

      public static final AccessCertificationCaseOutcomeStrategyType ACCEPTED_IF_NOT_DENIED
      Approved if none of the reviewers denies (either via revoke or reduce). So e.g. if nobody says anything, the case is approved.
    • ALL_MUST_ACCEPT

      public static final AccessCertificationCaseOutcomeStrategyType ALL_MUST_ACCEPT
      All reviewers must approve, i.e. no revoke, reduce, noResponse is acceptable.
  • Method Details

    • 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 AccessCertificationCaseOutcomeStrategyType 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