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