当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
RuleNameEndsWithAgendaFilter - JBoss RULES 3.0.6 API 英文版文档
org.drools.base
Class RuleNameEndsWithAgendaFilter
java.lang.Object
org.drools.base.RuleNameEndsWithAgendaFilter
- All Implemented Interfaces:
- AgendaFilter
public class RuleNameEndsWithAgendaFilter
- extends java.lang.Object
- implements AgendaFilter
Filters activations based on a specified rule name suffix.
Method Summary |
boolean |
accept(Activation activation)
Determine if a given activation should be fired. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleNameEndsWithAgendaFilter
public RuleNameEndsWithAgendaFilter(java.lang.String suffix)
RuleNameEndsWithAgendaFilter
public RuleNameEndsWithAgendaFilter(java.lang.String suffix,
boolean accept)
accept
public boolean accept(Activation activation)
- Description copied from interface:
AgendaFilter
- Determine if a given activation should be fired.
- Specified by:
accept
in interface AgendaFilter
- Parameters:
activation
- The activation to fire.
- Returns:
true
if the activation should be fired; otherwise
false