Enum ShadowCheckType
- java.lang.Object
-
- java.lang.Enum<ShadowCheckType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowCheckType
-
- All Implemented Interfaces:
Serializable
,Comparable<ShadowCheckType>
public enum ShadowCheckType extends Enum<ShadowCheckType>
Shadow constraint uniqueness setting. It mostly applies to shadow uniqueness. Uniqueness is checked by the resource under normal circumstances. This option can be used to turn on additional checks. Those checks may be needed to diagnose configuration issues or bugs (e.g. "duplicate shadow" problems). Or it may be used in case that the resource cannot check uniqueness by itself (e.g. in case of manual or asynchronous resources).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShadowCheckType
fromValue(String v)
String
value()
static ShadowCheckType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ShadowCheckType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ShadowCheckType NONE
No additional checks.
-
LIGHT
public static final ShadowCheckType LIGHT
Light checks only. E.g. the shadow uniqueness will be checked only once when new shadow is created.
-
-
Method Detail
-
values
public static ShadowCheckType[] 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 (ShadowCheckType c : ShadowCheckType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShadowCheckType 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 ShadowCheckType fromValue(String v)
-
-