Class AbstractJavaBlockDescr
- java.lang.Object
-
- org.drools.compiler.rule.builder.dialect.java.parser.AbstractJavaBlockDescr
-
- All Implemented Interfaces:
JavaBlockDescr
- Direct Known Subclasses:
JavaInterfacePointsDescr
,JavaModifyBlockDescr
,JavaStatementBlockDescr
,JavaThrowBlockDescr
public abstract class AbstractJavaBlockDescr extends Object implements JavaBlockDescr
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.compiler.rule.builder.dialect.java.parser.JavaBlockDescr
JavaBlockDescr.BlockType
-
-
Constructor Summary
Constructors Constructor Description AbstractJavaBlockDescr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Class<?>>
getInputs()
List<JavaLocalDeclarationDescr>
getInScopeLocalVars()
Returns the list of in-code, declared variables that are available in the scope of this blockvoid
setInputs(Map<String,Class<?>> variables)
void
setInScopeLocalVars(List<JavaLocalDeclarationDescr> inScopeLocalVars)
Sets the list of in-code, declared variables that are available in the scope of this block-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.compiler.rule.builder.dialect.java.parser.JavaBlockDescr
getEnd, getStart, getTargetExpression, getType, setTargetExpression
-
-
-
-
Method Detail
-
getInputs
public Map<String,Class<?>> getInputs()
- Specified by:
getInputs
in interfaceJavaBlockDescr
-
setInputs
public void setInputs(Map<String,Class<?>> variables)
- Specified by:
setInputs
in interfaceJavaBlockDescr
-
getInScopeLocalVars
public List<JavaLocalDeclarationDescr> getInScopeLocalVars()
Returns the list of in-code, declared variables that are available in the scope of this block- Specified by:
getInScopeLocalVars
in interfaceJavaBlockDescr
- Returns:
-
setInScopeLocalVars
public void setInScopeLocalVars(List<JavaLocalDeclarationDescr> inScopeLocalVars)
Sets the list of in-code, declared variables that are available in the scope of this block- Specified by:
setInScopeLocalVars
in interfaceJavaBlockDescr
-
-