Enum MappingEvaluationState

    • 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 name
        NullPointerException - if the argument is null