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 boolean
accept(org.kie.api.runtime.rule.Match activation)
String
getPrefix()
boolean
isAccept()
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
-
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
-
-