Interface DmnHitPolicyHandlerRegistry
-
- All Known Implementing Classes:
DefaultHitPolicyHandlerRegistry
public interface DmnHitPolicyHandlerRegistry
Registry of hit policy handlers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addHandler(HitPolicy hitPolicy, BuiltinAggregator builtinAggregator, DmnHitPolicyHandler hitPolicyHandler)
Register a hit policy handler for aHitPolicy
andBuiltinAggregator
combination.DmnHitPolicyHandler
getHandler(HitPolicy hitPolicy, BuiltinAggregator builtinAggregator)
Get a hit policy for aHitPolicy
andBuiltinAggregator
combination.
-
-
-
Method Detail
-
getHandler
DmnHitPolicyHandler getHandler(HitPolicy hitPolicy, BuiltinAggregator builtinAggregator)
Get a hit policy for aHitPolicy
andBuiltinAggregator
combination.- Parameters:
hitPolicy
- the hit policybuiltinAggregator
- 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 aHitPolicy
andBuiltinAggregator
combination.- Parameters:
hitPolicy
- the hit policybuiltinAggregator
- the aggregator or null if not requiredhitPolicyHandler
- the hit policy handler to registry
-
-