org.drools.base
Class RuleNameMatchesAgendaFilter
java.lang.Object
org.drools.base.RuleNameMatchesAgendaFilter
- All Implemented Interfaces:
- AgendaFilter
public class RuleNameMatchesAgendaFilter
- extends Object
- implements AgendaFilter
Filters activations based on a specified regular expression.
|
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 |
RuleNameMatchesAgendaFilter
public RuleNameMatchesAgendaFilter(String regexp)
RuleNameMatchesAgendaFilter
public RuleNameMatchesAgendaFilter(String regexp,
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
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.