Package org.drools.core.base
Class RuleNameMatchesAgendaFilter
- java.lang.Object
-
- org.drools.core.base.RuleNameMatchesAgendaFilter
-
- All Implemented Interfaces:
Serializable,org.kie.api.runtime.rule.AgendaFilter
public class RuleNameMatchesAgendaFilter extends Object implements org.kie.api.runtime.rule.AgendaFilter, Serializable
Filters activations based on a specified regular expression.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleNameMatchesAgendaFilter()RuleNameMatchesAgendaFilter(String regexp)RuleNameMatchesAgendaFilter(String regexp, boolean accept)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(org.kie.api.runtime.rule.Match activation)PatterngetPattern()booleanisAccept()
-
-
-
Method Detail
-
getPattern
public Pattern getPattern()
-
isAccept
public boolean isAccept()
-
accept
public boolean accept(org.kie.api.runtime.rule.Match activation)
- Specified by:
acceptin interfaceorg.kie.api.runtime.rule.AgendaFilter
-
-