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 boolean
accept(org.kie.api.runtime.rule.Match activation)
Pattern
getPattern()
boolean
isAccept()
-
-
-
Method Detail
-
getPattern
public Pattern getPattern()
-
isAccept
public boolean isAccept()
-
accept
public boolean accept(org.kie.api.runtime.rule.Match activation)
- Specified by:
accept
in interfaceorg.kie.api.runtime.rule.AgendaFilter
-
-