Interface DmnHitPolicyHandlerRegistry

    • Method Detail

      • getHandler

        DmnHitPolicyHandler getHandler​(HitPolicy hitPolicy,
                                       BuiltinAggregator builtinAggregator)
        Get a hit policy for a HitPolicy and BuiltinAggregator combination.
        Parameters:
        hitPolicy - the hit policy
        builtinAggregator - the aggregator or null if not required
        Returns:
        the handler which is registered for this hit policy, or null if none exist
      • addHandler

        void addHandler​(HitPolicy hitPolicy,
                        BuiltinAggregator builtinAggregator,
                        DmnHitPolicyHandler hitPolicyHandler)
        Register a hit policy handler for a HitPolicy and BuiltinAggregator combination.
        Parameters:
        hitPolicy - the hit policy
        builtinAggregator - the aggregator or null if not required
        hitPolicyHandler - the hit policy handler to registry