public class RuleNameEqualsAgendaFilter extends Object implements AgendaFilter, org.kie.api.runtime.rule.AgendaFilter
Constructor and Description |
---|
RuleNameEqualsAgendaFilter(String name) |
RuleNameEqualsAgendaFilter(String name,
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 RuleNameEqualsAgendaFilter(String name)
public RuleNameEqualsAgendaFilter(String name, 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-2015 JBoss by Red Hat. All Rights Reserved.