站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

RuleNameStartsWithAgendaFilter (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.base
Class RuleNameStartsWithAgendaFilter

java.lang.Object
  extended by org.drools.base.RuleNameStartsWithAgendaFilter
All Implemented Interfaces:
AgendaFilter

public class RuleNameStartsWithAgendaFilter
extends Object
implements AgendaFilter

Filters activations based on a specified rule name prefix.

Author:
Simon Harris

Constructor Summary
RuleNameStartsWithAgendaFilter(String prefix)
           
RuleNameStartsWithAgendaFilter(String prefix, boolean accept)
           
 
Method Summary
 boolean accept(Activation activation)
          Determine if a given activation should be fired.
 
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(Activation activation)
Description copied from interface: AgendaFilter
Determine if a given activation should be fired.

Specified by:
accept in interface AgendaFilter
Parameters:
activation - The activation to fire.
Returns:
true if the activation should be fired; otherwise false


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.