Enum LevelEvaluationStrategyType
- java.lang.Object
-
- java.lang.Enum<LevelEvaluationStrategyType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LevelEvaluationStrategyType
-
- All Implemented Interfaces:
Serializable
,Comparable<LevelEvaluationStrategyType>
public enum LevelEvaluationStrategyType extends Enum<LevelEvaluationStrategyType>
Java class for LevelEvaluationStrategyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LevelEvaluationStrategyType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="allMustApprove"/> <enumeration value="firstDecides"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_MUST_AGREE
All approvers at a particular stage must approve the operation.FIRST_DECIDES
First approver that votes will decide the whole stage (either by approving or by rejecting).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LevelEvaluationStrategyType
fromValue(String v)
String
value()
static LevelEvaluationStrategyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LevelEvaluationStrategyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_MUST_AGREE
public static final LevelEvaluationStrategyType ALL_MUST_AGREE
All approvers at a particular stage must approve the operation.
-
FIRST_DECIDES
public static final LevelEvaluationStrategyType FIRST_DECIDES
First approver that votes will decide the whole stage (either by approving or by rejecting).
-
-
Method Detail
-
values
public static LevelEvaluationStrategyType[] 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 (LevelEvaluationStrategyType c : LevelEvaluationStrategyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LevelEvaluationStrategyType 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 LevelEvaluationStrategyType fromValue(String v)
-
-