org.drools.eclipse.core
Class DroolsElement
java.lang.Object
org.drools.eclipse.core.DroolsElement
- Direct Known Subclasses:
- Expander, Function, Global, Import, Package, Process, Query, Rule, RuleAttribute, RuleGroup, RuleSet, Template
public abstract class DroolsElement
- extends Object
This represents a drools model element. It is linked to its direct
parents and its children. If relevant, Drools model elements refer
to the file they are defined in and the offset and length of that
element in the file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULESET
public static final int RULESET
- See Also:
- Constant Field Values
PACKAGE
public static final int PACKAGE
- See Also:
- Constant Field Values
RULE
public static final int RULE
- See Also:
- Constant Field Values
QUERY
public static final int QUERY
- See Also:
- Constant Field Values
FUNCTION
public static final int FUNCTION
- See Also:
- Constant Field Values
TEMPLATE
public static final int TEMPLATE
- See Also:
- Constant Field Values
EXPANDER
public static final int EXPANDER
- See Also:
- Constant Field Values
GLOBAL
public static final int GLOBAL
- See Also:
- Constant Field Values
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
RULE_ATTRIBUTE
public static final int RULE_ATTRIBUTE
- See Also:
- Constant Field Values
PROCESS
public static final int PROCESS
- See Also:
- Constant Field Values
DEFAULT_RULE_GROUP
public static final int DEFAULT_RULE_GROUP
- See Also:
- Constant Field Values
ACTIVATION_GROUP
public static final int ACTIVATION_GROUP
- See Also:
- Constant Field Values
AGENDA_GROUP
public static final int AGENDA_GROUP
- See Also:
- Constant Field Values
RULEFLOW_GROUP
public static final int RULEFLOW_GROUP
- See Also:
- Constant Field Values
NO_ELEMENTS
protected static final DroolsElement[] NO_ELEMENTS
DroolsElement
protected DroolsElement(DroolsElement parent)
getType
public abstract int getType()
getParent
public DroolsElement getParent()
getChildren
public abstract DroolsElement[] getChildren()
getFile
public org.eclipse.core.resources.IFile getFile()
getOffset
public int getOffset()
getLength
public int getLength()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.