public interface DmnHitPolicyHandlerRegistry
Modifier and Type | Method and Description |
---|---|
void |
addHandler(HitPolicy hitPolicy,
BuiltinAggregator builtinAggregator,
DmnHitPolicyHandler hitPolicyHandler)
Register a hit policy handler for a
HitPolicy and BuiltinAggregator combination. |
DmnHitPolicyHandler |
getHandler(HitPolicy hitPolicy,
BuiltinAggregator builtinAggregator)
Get a hit policy for a
HitPolicy and BuiltinAggregator combination. |
DmnHitPolicyHandler getHandler(HitPolicy hitPolicy, BuiltinAggregator builtinAggregator)
HitPolicy
and BuiltinAggregator
combination.hitPolicy
- the hit policybuiltinAggregator
- the aggregator or null if not requiredvoid addHandler(HitPolicy hitPolicy, BuiltinAggregator builtinAggregator, DmnHitPolicyHandler hitPolicyHandler)
HitPolicy
and BuiltinAggregator
combination.hitPolicy
- the hit policybuiltinAggregator
- the aggregator or null if not requiredhitPolicyHandler
- the hit policy handler to registryCopyright © 2022. All rights reserved.