org.drools.simulation.impl.command
Class AssertRulesFiredCommand

java.lang.Object
  extended by org.drools.simulation.impl.command.AssertRulesFiredCommand
All Implemented Interfaces:
Serializable, org.drools.command.Command<Object>, org.drools.command.impl.GenericCommand<Object>

public class AssertRulesFiredCommand
extends Object
implements org.drools.command.impl.GenericCommand<Object>

See Also:
Serialized Form

Constructor Summary
AssertRulesFiredCommand()
           
AssertRulesFiredCommand(FiredRuleCounter firedRuleCounter)
           
 
Method Summary
 void addAssertRuleFired(String ruleName, int fireCount)
           
 void addAssertRuleNotFired(String ruleName)
           
 Object execute(org.drools.command.Context context)
           
 FiredRuleCounter getFiredRuleCounter()
           
 void setFiredRuleCounter(FiredRuleCounter firedRuleCounter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertRulesFiredCommand

public AssertRulesFiredCommand()

AssertRulesFiredCommand

public AssertRulesFiredCommand(FiredRuleCounter firedRuleCounter)
Method Detail

getFiredRuleCounter

public FiredRuleCounter getFiredRuleCounter()

setFiredRuleCounter

public void setFiredRuleCounter(FiredRuleCounter firedRuleCounter)

addAssertRuleFired

public void addAssertRuleFired(String ruleName,
                               int fireCount)

addAssertRuleNotFired

public void addAssertRuleNotFired(String ruleName)

execute

public Object execute(org.drools.command.Context context)
Specified by:
execute in interface org.drools.command.impl.GenericCommand<Object>


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