org.drools.spi
Interface RuleFlowGroup

All Superinterfaces:
Iterable<ActivationNode>, org.drools.runtime.rule.RuleFlowGroup
All Known Subinterfaces:
InternalRuleFlowGroup
All Known Implementing Classes:
RuleFlowGroupImpl

public interface RuleFlowGroup
extends org.drools.runtime.rule.RuleFlowGroup, Iterable<ActivationNode>


Method Summary
 void clear()
           
 String getName()
           
 boolean isActive()
           
 boolean isAutoDeactivate()
           
 boolean isEmpty()
           
 Iterator<ActivationNode> iterator()
           
 void setAutoDeactivate(boolean autoDeactivate)
          Sets the auto-deactivate status of this RuleFlowGroup.
 int size()
           
 

Method Detail

getName

String getName()
Specified by:
getName in interface org.drools.runtime.rule.RuleFlowGroup

iterator

Iterator<ActivationNode> iterator()
Specified by:
iterator in interface Iterable<ActivationNode>

isEmpty

boolean isEmpty()

size

int size()

isActive

boolean isActive()

isAutoDeactivate

boolean isAutoDeactivate()

setAutoDeactivate

void setAutoDeactivate(boolean autoDeactivate)
Sets the auto-deactivate status of this RuleFlowGroup. If this is set to true, an active RuleFlowGroup automatically deactivates if it has no more activations. If it had no activations when it was activated, it will be deactivated immediately.


clear

void clear()
Specified by:
clear in interface org.drools.runtime.rule.RuleFlowGroup


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