Interface DmnHitPolicyHandlerRegistry

All Known Implementing Classes:
DefaultHitPolicyHandlerRegistry

public interface DmnHitPolicyHandlerRegistry
Registry of hit policy handlers
  • Method Details

    • 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