Drools :: Core 6.2.0.CR4

org.drools.core.base
Class RuleNameStartsWithAgendaFilter

java.lang.Object
  extended by org.drools.core.base.RuleNameStartsWithAgendaFilter
All Implemented Interfaces:
org.kie.api.runtime.rule.AgendaFilter

public class RuleNameStartsWithAgendaFilter
extends Object
implements org.kie.api.runtime.rule.AgendaFilter

Filters activations based on a specified rule name prefix.


Constructor Summary
RuleNameStartsWithAgendaFilter(String prefix)
           
RuleNameStartsWithAgendaFilter(String prefix, boolean accept)
           
 
Method Summary
 boolean accept(org.kie.api.runtime.rule.Match activation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleNameStartsWithAgendaFilter

public RuleNameStartsWithAgendaFilter(String prefix)

RuleNameStartsWithAgendaFilter

public RuleNameStartsWithAgendaFilter(String prefix,
                                      boolean accept)
Method Detail

accept

public boolean accept(org.kie.api.runtime.rule.Match activation)
Specified by:
accept in interface org.kie.api.runtime.rule.AgendaFilter

Drools :: Core 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.