Enum AccessCertificationCaseOutcomeStrategyType
- java.lang.Object
-
- java.lang.Enum<AccessCertificationCaseOutcomeStrategyType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AccessCertificationCaseOutcomeStrategyType
-
- All Implemented Interfaces:
Serializable
,Comparable<AccessCertificationCaseOutcomeStrategyType>
public enum AccessCertificationCaseOutcomeStrategyType extends Enum<AccessCertificationCaseOutcomeStrategyType>
Java class for AccessCertificationCaseOutcomeStrategyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AccessCertificationCaseOutcomeStrategyType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="oneAcceptAccepts"/> <enumeration value="oneDenyDenies"/> <enumeration value="acceptedIfNotDenied"/> <enumeration value="allMustAccept"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED_IF_NOT_DENIED
Approved if none of the reviewers denies (either via revoke or reduce).ALL_MUST_ACCEPT
All reviewers must approve, i.e.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".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessCertificationCaseOutcomeStrategyType
fromValue(String v)
String
value()
static AccessCertificationCaseOutcomeStrategyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccessCertificationCaseOutcomeStrategyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static AccessCertificationCaseOutcomeStrategyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessCertificationCaseOutcomeStrategyType c : AccessCertificationCaseOutcomeStrategyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessCertificationCaseOutcomeStrategyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static AccessCertificationCaseOutcomeStrategyType fromValue(String v)
-
-