org.drools.rule.builder.dialect.java.parser
Class AbstractJavaContainerBlockDescr

java.lang.Object
  extended by org.drools.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.rule.builder.dialect.java.parser.JavaBlockDescr
JavaBlockDescr.BlockType
 
Constructor Summary
AbstractJavaContainerBlockDescr()
           
 
Method Summary
 void addJavaBlockDescr(JavaBlockDescr descr)
           
 Map<String,Class<?>> getInputs()
           
 List<JavaLocalDeclarationDescr> getInScopeLocalVars()
          Returns the list of in-code, declared variables that are available in the scope of this block
 List<JavaBlockDescr> getJavaBlockDescrs()
           
 void 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.rule.builder.dialect.java.parser.JavaBlockDescr
getEnd, getStart, getTargetExpression, getType, setTargetExpression
 

Constructor Detail

AbstractJavaContainerBlockDescr

public AbstractJavaContainerBlockDescr()
Method Detail

getJavaBlockDescrs

public List<JavaBlockDescr> getJavaBlockDescrs()
Specified by:
getJavaBlockDescrs in interface JavaContainerBlockDescr

addJavaBlockDescr

public void addJavaBlockDescr(JavaBlockDescr descr)
Specified by:
addJavaBlockDescr in interface JavaContainerBlockDescr

getInputs

public Map<String,Class<?>> getInputs()
Specified by:
getInputs in interface JavaBlockDescr

setInputs

public void setInputs(Map<String,Class<?>> variables)
Specified by:
setInputs in interface JavaBlockDescr

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 interface JavaBlockDescr
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 interface JavaBlockDescr


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