Class AbstractRuleConfigurationAgendaFilter
- java.lang.Object
-
- de.hybris.platform.droolsruleengineservices.agendafilter.impl.AbstractRuleConfigurationAgendaFilter
-
- All Implemented Interfaces:
org.kie.api.runtime.rule.AgendaFilter
- Direct Known Subclasses:
ActionTriggeringLimitAgendaFilter
public abstract class AbstractRuleConfigurationAgendaFilter extends java.lang.Object implements org.kie.api.runtime.rule.AgendaFilter
AbstractRuleConfigurationAgendaFilter provides an abstract base class for agenda filters that need to make use ofRuleConfigurationRRD
objects.
-
-
Constructor Summary
Constructors Constructor Description AbstractRuleConfigurationAgendaFilter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
accept(org.kie.api.runtime.rule.Match match)
looks up the corresponding RuleConfigurationRRD and if found, invokesaccept(Match, RuleConfigurationRRD)
with it.protected abstract boolean
accept(org.kie.api.runtime.rule.Match match, RuleConfigurationRRD ruleConfigurationRRD)
is invoked by this class'accept(Match)
method.protected java.util.Optional<RuleConfigurationRRD>
getRuleConfig(org.kie.api.runtime.rule.Match match)
returns the RuleConfigurationRRD for the given match by looking up the rules ruleCode meta data.
-
-
-
Method Detail
-
getRuleConfig
protected java.util.Optional<RuleConfigurationRRD> getRuleConfig(org.kie.api.runtime.rule.Match match)
returns the RuleConfigurationRRD for the given match by looking up the rules ruleCode meta data.
-
accept
public boolean accept(org.kie.api.runtime.rule.Match match)
looks up the corresponding RuleConfigurationRRD and if found, invokesaccept(Match, RuleConfigurationRRD)
with it.- Specified by:
accept
in interfaceorg.kie.api.runtime.rule.AgendaFilter
-
accept
protected abstract boolean accept(org.kie.api.runtime.rule.Match match, RuleConfigurationRRD ruleConfigurationRRD)
is invoked by this class'accept(Match)
method.
-
-