org.databene.benerator.engine.statement
Class WhileStatement
java.lang.Object
org.databene.benerator.engine.statement.ConditionStatement
org.databene.benerator.engine.statement.WhileStatement
- All Implemented Interfaces:
- java.io.Closeable, Statement
public class WhileStatement
- extends ConditionStatement
'While' loop statement.
Created: 19.02.2010 09:15:11
- Since:
- 0.6.0
- Author:
- Volker Bergmann
Constructor Summary |
WhileStatement(org.databene.script.Expression<java.lang.Boolean> condition)
|
WhileStatement(org.databene.script.Expression<java.lang.Boolean> condition,
java.util.List<Statement> statements)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WhileStatement
public WhileStatement(org.databene.script.Expression<java.lang.Boolean> condition)
WhileStatement
public WhileStatement(org.databene.script.Expression<java.lang.Boolean> condition,
java.util.List<Statement> statements)
setSubStatements
public void setSubStatements(java.util.List<Statement> statements)
execute
public boolean execute(BeneratorContext context)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2013. All Rights Reserved.