|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.databene.benerator.engine.AbstractScopedLifeCycleHolder
org.databene.benerator.composite.ComponentBuilderProxy<E>
org.databene.benerator.composite.ConditionalComponentBuilder<E>
public class ConditionalComponentBuilder<E>
ComponentBuilder
which executes only if a condition expression evaluates to 'true'.
Created: 11.10.2010 11:15:14
Field Summary |
---|
Fields inherited from class org.databene.benerator.composite.ComponentBuilderProxy |
---|
context, source |
Constructor Summary | |
---|---|
ConditionalComponentBuilder(ComponentBuilder<E> source,
org.databene.script.Expression<?> condition)
|
Method Summary | |
---|---|
boolean |
execute(BeneratorContext context)
|
Methods inherited from class org.databene.benerator.composite.ComponentBuilderProxy |
---|
close, getMessage, init, isParallelizable, isThreadSafe, reset |
Methods inherited from class org.databene.benerator.engine.AbstractScopedLifeCycleHolder |
---|
getScope, isResetNeeded, resetIfNeeded, setResetNeeded, setScope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.databene.benerator.engine.ScopedLifeCycleHolder |
---|
getScope, isResetNeeded, resetIfNeeded, setResetNeeded, setScope |
Constructor Detail |
---|
public ConditionalComponentBuilder(ComponentBuilder<E> source, org.databene.script.Expression<?> condition)
Method Detail |
---|
public boolean execute(BeneratorContext context)
execute
in interface Statement
execute
in class ComponentBuilderProxy<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |