Enum ConstructionStrengthType
- java.lang.Object
-
- java.lang.Enum<ConstructionStrengthType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ConstructionStrengthType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConstructionStrengthType>
public enum ConstructionStrengthType extends Enum<ConstructionStrengthType>
Strength of the construction defines how aggressively will the construction be applied. Strong constructions are applied all the time (relative changes, reconciliation, ...). Weak constructions are applied only if there is another strong construction.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConstructionStrengthType
fromValue(String v)
String
value()
static ConstructionStrengthType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConstructionStrengthType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRONG
public static final ConstructionStrengthType STRONG
Always applied, regardless of context.
-
WEAK
public static final ConstructionStrengthType WEAK
Construction is applied only if there is another strong construction for the same project. I.e. weak construction do not entitle the focus to anything just by themselves. There must be another reason for the projection to exist. If there is, then the weak construction will be also applied. If it is not then the weak construction is ignored.
-
-
Method Detail
-
values
public static ConstructionStrengthType[] 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 (ConstructionStrengthType c : ConstructionStrengthType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConstructionStrengthType 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 ConstructionStrengthType fromValue(String v)
-
-