org.drools.rule.builder.dialect.java.parser
Interface JavaBlockDescr

All Known Subinterfaces:
JavaContainerBlockDescr
All Known Implementing Classes:
AbstractJavaBlockDescr, AbstractJavaContainerBlockDescr, JavaCatchBlockDescr, JavaElseBlockDescr, JavaFinalBlockDescr, JavaForBlockDescr, JavaIfBlockDescr, JavaInterfacePointsDescr, JavaModifyBlockDescr, JavaRetractBlockDescr, JavaRootBlockDescr, JavaThrowBlockDescr, JavaTryBlockDescr, JavaUpdateBlockDescr, JavaWhileBlockDescr

public interface JavaBlockDescr


Nested Class Summary
static class JavaBlockDescr.BlockType
           
 
Method Summary
 int getEnd()
           
 Map<String,Class<?>> getInputs()
           
 List<JavaLocalDeclarationDescr> getInScopeLocalVars()
          Returns the list of in-code, declared variables that are available in the scope of this block
 int getStart()
           
 String getTargetExpression()
           
 JavaBlockDescr.BlockType getType()
           
 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
 void setTargetExpression(String str)
           
 

Method Detail

getType

JavaBlockDescr.BlockType getType()

getStart

int getStart()

getEnd

int getEnd()

getTargetExpression

String getTargetExpression()

setTargetExpression

void setTargetExpression(String str)

getInputs

Map<String,Class<?>> getInputs()

setInputs

void setInputs(Map<String,Class<?>> variables)

getInScopeLocalVars

List<JavaLocalDeclarationDescr> getInScopeLocalVars()
Returns the list of in-code, declared variables that are available in the scope of this block

Returns:

setInScopeLocalVars

void setInScopeLocalVars(List<JavaLocalDeclarationDescr> inScopeLocalVars)
Sets the list of in-code, declared variables that are available in the scope of this block



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