org.drools.eclipse.core
Class RuleGroup

java.lang.Object
  extended by org.drools.eclipse.core.DroolsElement
      extended by org.drools.eclipse.core.RuleGroup
Direct Known Subclasses:
ActivationGroup, AgendaGroup, DefaultRuleGroup, RuleFlowGroup

public abstract class RuleGroup
extends DroolsElement

Represent a rule group of type Agenda-Group Or RuleFlow-Group


Field Summary
 
Fields inherited from class org.drools.eclipse.core.DroolsElement
ACTIVATION_GROUP, AGENDA_GROUP, DEFAULT_RULE_GROUP, EXPANDER, FUNCTION, GLOBAL, IMPORT, NO_ELEMENTS, PACKAGE, PROCESS, QUERY, RULE, RULE_ATTRIBUTE, RULEFLOW_GROUP, RULESET, TEMPLATE
 
Constructor Summary
protected RuleGroup(Package parent, Rule rule, String groupName)
           
 
Method Summary
protected  void addRule(Rule rule)
           
 boolean equals(Object obj)
           
 DroolsElement[] getChildren()
           
 DroolsElement[] getRules()
           
abstract  int getType()
           
 String toString()
           
 
Methods inherited from class org.drools.eclipse.core.DroolsElement
getFile, getLength, getOffset, getParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleGroup

protected RuleGroup(Package parent,
                    Rule rule,
                    String groupName)
Method Detail

getRules

public DroolsElement[] getRules()

getChildren

public DroolsElement[] getChildren()
Specified by:
getChildren in class DroolsElement

getType

public abstract int getType()
Specified by:
getType in class DroolsElement

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

addRule

protected void addRule(Rule rule)


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