Enum DefaultApprovalPolicyRulesUsageType
- java.lang.Object
-
- java.lang.Enum<DefaultApprovalPolicyRulesUsageType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.DefaultApprovalPolicyRulesUsageType
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultApprovalPolicyRulesUsageType>
public enum DefaultApprovalPolicyRulesUsageType extends Enum<DefaultApprovalPolicyRulesUsageType>
Java class for DefaultApprovalPolicyRulesUsageType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DefaultApprovalPolicyRulesUsageType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="never"/> <enumeration value="ifNoApprovalPolicyAction"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IF_NO_APPROVAL_POLICY_ACTION
Default approval policy rules are used if there are no applicable approval policy actions.NEVER
Default approval policy rules are never used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultApprovalPolicyRulesUsageType
fromValue(String v)
String
value()
static DefaultApprovalPolicyRulesUsageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultApprovalPolicyRulesUsageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final DefaultApprovalPolicyRulesUsageType NEVER
Default approval policy rules are never used.
-
IF_NO_APPROVAL_POLICY_ACTION
public static final DefaultApprovalPolicyRulesUsageType IF_NO_APPROVAL_POLICY_ACTION
Default approval policy rules are used if there are no applicable approval policy actions.
-
-
Method Detail
-
values
public static DefaultApprovalPolicyRulesUsageType[] 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 (DefaultApprovalPolicyRulesUsageType c : DefaultApprovalPolicyRulesUsageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultApprovalPolicyRulesUsageType 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 DefaultApprovalPolicyRulesUsageType fromValue(String v)
-
-