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:
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>
- Author:
- Christoph Deppisch
-
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 intFields inherited from class org.citrusframework.AbstractTestContainerBuilder
actionsFields 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.Gets the condition.Gets the condition.intgetIndex()Gets the index.Gets the indexName.intgetStart()Gets the start index.Sets the index variable name.startsWith(int index) Sets the index start value.Methods inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, actions, container, doBuild, getActionsMethods inherited from class org.citrusframework.AbstractTestActionBuilder
actor, description, getActor, getDescription, getName, name
-
Field Details
-
condition
-
conditionExpression
-
indexName
-
index
protected int index -
start
protected int start
-
-
Constructor Details
-
AbstractIteratingContainerBuilder
public AbstractIteratingContainerBuilder()
-
-
Method Details
-
condition
Adds a condition to this iterate container.- Parameters:
condition-- Returns:
-
condition
Adds a condition expression to this iterate container.- Parameters:
condition-- Returns:
-
index
Sets the index variable name.- Parameters:
name-- Returns:
-
startsWith
Sets the index start value.- Parameters:
index-- Returns:
-
build
- Specified by:
buildin interfaceTestActionBuilder<T extends AbstractIteratingActionContainer>- Overrides:
buildin classAbstractTestContainerBuilder<T extends AbstractIteratingActionContainer,S extends AbstractIteratingContainerBuilder<T, S>>
-
getCondition
Gets the condition.- Returns:
- the condition
-
getConditionExpression
Gets the condition.- Returns:
- the conditionExpression
-
getIndexName
Gets the indexName.- Returns:
- the indexName
-
getIndex
public int getIndex()Gets the index.- Returns:
- the index
-
getStart
public int getStart()Gets the start index.- Returns:
-