Class EvaluatorRegistry


  • public class EvaluatorRegistry
    extends java.lang.Object
    Allows to register, query and unregister evaluators for IVML operations.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • EvaluatorRegistry

        public EvaluatorRegistry()
    • Method Detail

      • registerEvaluator

        public static void registerEvaluator​(IOperationEvaluator evaluator,
                                             Operation... operations)
        Registers an evaluator (but only if evaluator is not null).
        Parameters:
        evaluator - the evaluator for operation
        operations - the operation the evaluator shall be registered for
      • registerEvaluator

        public static void registerEvaluator​(IIteratorEvaluator evaluator,
                                             Operation... operations)
        Registers an evaluator (but only if evaluator is not null).
        Parameters:
        evaluator - the evaluator for operation
        operations - the operation the evaluator shall be registered for
      • getOperationEvaluator

        public static IOperationEvaluator getOperationEvaluator​(Operation operation)
        Returns the registered operation evaluator for the given operation.
        Parameters:
        operation - the operation to return the evaluator for
        Returns:
        the operation evaluator
      • getIteratorEvaluator

        public static IIteratorEvaluator getIteratorEvaluator​(Operation operation)
        Returns the registered iterator evaluator for the given operation.
        Parameters:
        operation - the operation to return the evaluator for
        Returns:
        the operation iterator evaluator