Class AbstractJavaContainerBlockDescr
java.lang.Object
org.drools.compiler.rule.builder.dialect.java.parser.AbstractJavaContainerBlockDescr
- All Implemented Interfaces:
JavaBlockDescr,JavaContainerBlockDescr
- Direct Known Subclasses:
JavaCatchBlockDescr,JavaElseBlockDescr,JavaFinalBlockDescr,JavaForBlockDescr,JavaIfBlockDescr,JavaRootBlockDescr,JavaTryBlockDescr,JavaWhileBlockDescr
public abstract class AbstractJavaContainerBlockDescr
extends Object
implements JavaContainerBlockDescr
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.compiler.rule.builder.dialect.java.parser.JavaBlockDescr
JavaBlockDescr.BlockType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJavaBlockDescr(JavaBlockDescr descr) Returns the list of in-code, declared variables that are available in the scope of this blockvoidvoidsetInScopeLocalVars(List<JavaLocalDeclarationDescr> inScopeLocalVars) Sets the list of in-code, declared variables that are available in the scope of this blockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.compiler.rule.builder.dialect.java.parser.JavaBlockDescr
getEnd, getStart, getTargetExpression, getType, setTargetExpression
-
Constructor Details
-
AbstractJavaContainerBlockDescr
public AbstractJavaContainerBlockDescr()
-
-
Method Details
-
getJavaBlockDescrs
- Specified by:
getJavaBlockDescrsin interfaceJavaContainerBlockDescr
-
addJavaBlockDescr
- Specified by:
addJavaBlockDescrin interfaceJavaContainerBlockDescr
-
getInputs
- Specified by:
getInputsin interfaceJavaBlockDescr
-
setInputs
- Specified by:
setInputsin interfaceJavaBlockDescr
-
getInScopeLocalVars
Returns the list of in-code, declared variables that are available in the scope of this block- Specified by:
getInScopeLocalVarsin interfaceJavaBlockDescr- Returns:
-
setInScopeLocalVars
Sets the list of in-code, declared variables that are available in the scope of this block- Specified by:
setInScopeLocalVarsin interfaceJavaBlockDescr
-