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

java.lang.Object
  extended by org.drools.rule.builder.dialect.java.parser.AbstractJavaBlockDescr
All Implemented Interfaces:
JavaBlockDescr
Direct Known Subclasses:
JavaInterfacePointsDescr, JavaModifyBlockDescr, JavaRetractBlockDescr, JavaThrowBlockDescr, JavaUpdateBlockDescr

public abstract class AbstractJavaBlockDescr
extends Object
implements JavaBlockDescr


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.drools.rule.builder.dialect.java.parser.JavaBlockDescr
JavaBlockDescr.BlockType
 
Constructor Summary
AbstractJavaBlockDescr()
           
 
Method Summary
 Map<String,Class<?>> getInputs()
           
 List<JavaLocalDeclarationDescr> getInScopeLocalVars()
          Returns the list of in-code, declared variables that are available in the scope of this block
 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

AbstractJavaBlockDescr

public AbstractJavaBlockDescr()
Method Detail

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.