Drools :: Core 6.1.0.Final

org.drools.core.base
Class RuleNameEndsWithAgendaFilter

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

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

Filters activations based on a specified rule name suffix.


Constructor Summary
RuleNameEndsWithAgendaFilter(String suffix)
           
RuleNameEndsWithAgendaFilter(String suffix, 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

RuleNameEndsWithAgendaFilter

public RuleNameEndsWithAgendaFilter(String suffix)

RuleNameEndsWithAgendaFilter

public RuleNameEndsWithAgendaFilter(String suffix,
                                    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.1.0.Final

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