Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.control
Class AbstractConditionalBlock

java.lang.Object
  extended by org.jboss.errai.codegen.AbstractStatement
      extended by org.jboss.errai.codegen.control.AbstractConditionalBlock
All Implemented Interfaces:
Statement
Direct Known Subclasses:
DoWhileLoop, ForLoop, IfBlock, WhileLoop

public abstract class AbstractConditionalBlock
extends AbstractStatement

Author:
Mike Brock , Christian Sadilek

Constructor Summary
protected AbstractConditionalBlock(BooleanExpression condition)
           
protected AbstractConditionalBlock(BooleanExpression condition, BlockStatement block)
           
 
Method Summary
 BlockStatement getBlock()
           
 BooleanExpression getCondition()
           
 
Methods inherited from class org.jboss.errai.codegen.AbstractStatement
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.errai.codegen.Statement
generate
 

Constructor Detail

AbstractConditionalBlock

protected AbstractConditionalBlock(BooleanExpression condition)

AbstractConditionalBlock

protected AbstractConditionalBlock(BooleanExpression condition,
                                   BlockStatement block)
Method Detail

getCondition

public BooleanExpression getCondition()

getBlock

public BlockStatement getBlock()

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.