public class RuleNameStartsWithAgendaFilter extends Object implements AgendaFilter, org.kie.api.runtime.rule.AgendaFilter
Constructor and Description |
---|
RuleNameStartsWithAgendaFilter(String prefix) |
RuleNameStartsWithAgendaFilter(String prefix,
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 RuleNameStartsWithAgendaFilter(String prefix)
public RuleNameStartsWithAgendaFilter(String prefix, 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.