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.)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionApproved if none of the reviewers denies (either via revoke or reduce).All reviewers must approve, i.e.If at least one reviewer approves, the result is "APPROVED" regardless of the other votes.If at least one reviewer denies (either via revoke or reduce), the result is "NOT APPROVED". -
Method Summary
-
Enum Constant Details
-
ONE_ACCEPT_ACCEPTS
If at least one reviewer approves, the result is "APPROVED" regardless of the other votes. -
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
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
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
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 nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-