Enum MappingEvaluationState
- java.lang.Object
-
- java.lang.Enum<MappingEvaluationState>
-
- com.evolveum.midpoint.model.common.mapping.MappingEvaluationState
-
- All Implemented Interfaces:
Serializable
,Comparable<MappingEvaluationState>
public enum MappingEvaluationState extends Enum<MappingEvaluationState>
- Author:
- semancik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVALUATED
Mapping was evaluated, results are produced.PREPARED
Prepared for evaluation.UNINITIALIZED
Nothing is initialized, we are just preparing the mapping.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MappingEvaluationState
valueOf(String name)
Returns the enum constant of this type with the specified name.static MappingEvaluationState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNINITIALIZED
public static final MappingEvaluationState UNINITIALIZED
Nothing is initialized, we are just preparing the mapping.
-
PREPARED
public static final MappingEvaluationState PREPARED
Prepared for evaluation. Declarative part of mapping is set and parsed. Variables are set. Source are set, but they can still change. The purpose of this state is that we can check if a mapping is activated (i.e. if the input changes will "trigger" the mapping). And we can sort mapping evaluation according to their dependencies.
-
EVALUATED
public static final MappingEvaluationState EVALUATED
Mapping was evaluated, results are produced.
-
-
Method Detail
-
values
public static MappingEvaluationState[] 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 (MappingEvaluationState c : MappingEvaluationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MappingEvaluationState 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
-
-