Package org.drools.core.base
Class RuleNameEndsWithAgendaFilter
- java.lang.Object
-
- org.drools.core.base.RuleNameEndsWithAgendaFilter
-
- All Implemented Interfaces:
Serializable,org.kie.api.runtime.rule.AgendaFilter
public class RuleNameEndsWithAgendaFilter extends Object implements org.kie.api.runtime.rule.AgendaFilter, Serializable
Filters activations based on a specified rule name suffix.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleNameEndsWithAgendaFilter()RuleNameEndsWithAgendaFilter(String suffix)RuleNameEndsWithAgendaFilter(String suffix, boolean accept)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(org.kie.api.runtime.rule.Match activation)StringgetSuffix()booleanisAccept()voidsetAccept(boolean accept)voidsetSuffix(String suffix)
-
-
-
Method Detail
-
getSuffix
public String getSuffix()
-
isAccept
public boolean isAccept()
-
setSuffix
public void setSuffix(String suffix)
-
setAccept
public void setAccept(boolean accept)
-
accept
public boolean accept(org.kie.api.runtime.rule.Match activation)
- Specified by:
acceptin interfaceorg.kie.api.runtime.rule.AgendaFilter
-
-