Class DefaultAgendaFilterFactory
java.lang.Object
de.hybris.platform.droolsruleengineservices.agendafilter.impl.DefaultAgendaFilterFactory
- All Implemented Interfaces:
AgendaFilterFactory
The DefaultAgendaFilterFactory is the default implementation for
AgendaFilterFactory. It uses
AgendaFilterCreationStrategys to create agenda filters and a CompoundAgendaFilter to chain multiple
filters together.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.runtime.rule.AgendaFiltercreates an AgendaFilter based on the given rule engine context.protected CompoundAgendaFilterprotected List<AgendaFilterCreationStrategy>protected booleanvoidsetForceAllEvaluations(boolean forceAllEvaluations) voidsetStrategies(List<AgendaFilterCreationStrategy> strategies) voidsetTargetClass(Class<? extends CompoundAgendaFilter> targetClass)
-
Constructor Details
-
DefaultAgendaFilterFactory
public DefaultAgendaFilterFactory()
-
-
Method Details
-
createAgendaFilter
public org.kie.api.runtime.rule.AgendaFilter createAgendaFilter(AbstractRuleEngineContextModel context) Description copied from interface:AgendaFilterFactorycreates an AgendaFilter based on the given rule engine context.- Specified by:
createAgendaFilterin interfaceAgendaFilterFactory- Parameters:
context- the rule engine context- Returns:
- an AgendaFilter (to be applied during rule evaluation)
-
getStrategies
-
setStrategies
-
isForceAllEvaluations
protected boolean isForceAllEvaluations() -
setForceAllEvaluations
public void setForceAllEvaluations(boolean forceAllEvaluations) -
setTargetClass
-
createFromClass
-