public class RuleNameMatchesAgendaFilter extends Object implements AgendaFilter, org.kie.api.runtime.rule.AgendaFilter
Constructor and Description |
---|
RuleNameMatchesAgendaFilter(String regexp) |
RuleNameMatchesAgendaFilter(String regexp,
boolean accept) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Activation activation)
Determine if a given activation should be fired.
|
boolean |
accept(org.kie.api.runtime.rule.Match activation) |
public RuleNameMatchesAgendaFilter(String regexp)
public RuleNameMatchesAgendaFilter(String regexp, boolean accept)
public boolean accept(Activation activation)
AgendaFilter
activation
- The activation to fire.true
if the activation should be fired; otherwise
false
public boolean accept(org.kie.api.runtime.rule.Match activation)
accept
in interface org.kie.api.runtime.rule.AgendaFilter
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.