Package org.citrusframework
Class AbstractIteratingContainerBuilder<T extends AbstractIteratingActionContainer,S extends AbstractIteratingContainerBuilder<T,S>>
java.lang.Object
org.citrusframework.AbstractTestActionBuilder<T,S>
org.citrusframework.AbstractTestContainerBuilder<T,S>
org.citrusframework.AbstractIteratingContainerBuilder<T,S>
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<T>,TestActionContainerBuilder<T,S>
- Direct Known Subclasses:
Iterate.Builder,RepeatOnErrorUntilTrue.Builder,RepeatUntilTrue.Builder
public abstract class AbstractIteratingContainerBuilder<T extends AbstractIteratingActionContainer,S extends AbstractIteratingContainerBuilder<T,S>>
extends AbstractTestContainerBuilder<T,S>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected IteratingConditionExpressionprotected intprotected Stringprotected intprotected DurationFields inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, referenceResolverFields inherited from class org.citrusframework.AbstractTestActionBuilder
selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Adds a condition to this iterate container.condition(IteratingConditionExpression condition) Adds a condition expression to this iterate container.intgetIndex()intgetStart()Sets the index variable name.startsWith(int index) Sets the index start value.Methods inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, actions, container, doBuild, getActions, setReferenceResolverMethods inherited from class org.citrusframework.AbstractTestActionBuilder
actor, description, getActor, getDescription, getName, name
-
Field Details
-
condition
-
conditionExpression
-
indexName
-
timeout
-
index
protected int index -
start
protected int start
-
-
Constructor Details
-
AbstractIteratingContainerBuilder
public AbstractIteratingContainerBuilder()
-
-
Method Details
-
condition
Adds a condition to this iterate container. -
condition
Adds a condition expression to this iterate container. -
index
Sets the index variable name. -
timeout
-
startsWith
Sets the index start value. -
getCondition
- Returns:
- the condition
-
getConditionExpression
- Returns:
- the condition expression
-
getIndexName
- Returns:
- the index name
-
getTimeout
- Returns:
- the timeout duration
-
getIndex
public int getIndex()- Returns:
- the index
-
getStart
public int getStart()- Returns:
- the start index
-
build
- Specified by:
buildin interfaceTestActionBuilder<T extends AbstractIteratingActionContainer>- Overrides:
buildin classAbstractTestContainerBuilder<T extends AbstractIteratingActionContainer,S extends AbstractIteratingContainerBuilder<T, S>>
-