Package org.citrusframework
Class AbstractSuiteContainerBuilder<T extends AbstractSuiteActionContainer,S extends AbstractSuiteContainerBuilder<T,S>>
java.lang.Object
org.citrusframework.AbstractTestActionBuilder<T,S>
org.citrusframework.AbstractTestContainerBuilder<T,S>
org.citrusframework.AbstractSuiteContainerBuilder<T,S>
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<T>,TestActionContainerBuilder<T,S>
- Direct Known Subclasses:
SequenceAfterSuite.Builder,SequenceBeforeSuite.Builder
public abstract class AbstractSuiteContainerBuilder<T extends AbstractSuiteActionContainer,S extends AbstractSuiteContainerBuilder<T,S>>
extends AbstractTestContainerBuilder<T,S>
Abstract container builder takes care on calling the container runner when actions are placed in the container.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields 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()Condition on suite name.Condition on suite names.onTestGroup(String... testGroups) Condition on test group name.onTestGroups(List<String> testGroups) Condition on test group names.Condition on environment variable with value.Condition on environment variables.whenSystemProperties(Map<String, String> systemProperties) Condition on system properties.whenSystemProperty(String name, String value) Condition on system property with 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
-
Constructor Details
-
AbstractSuiteContainerBuilder
public AbstractSuiteContainerBuilder()
-
-
Method Details
-
onSuite
Condition on suite name. The before test logic will only run when this condition matches.- Parameters:
suiteNames-
-
onSuites
Condition on suite names. The before test logic will only run when this condition matches.- Parameters:
suiteNames-
-
onTestGroup
Condition on test group name. The before test logic will only run when this condition matches.- Parameters:
testGroups-
-
onTestGroups
Condition on test group names. The before test logic will only run when this condition matches.- Parameters:
testGroups-
-
whenSystemProperty
Condition on system property with value. The before test logic will only run when this condition matches.- Parameters:
name-value-
-
whenSystemProperties
Condition on system properties. The before test logic will only run when this condition matches.- Parameters:
systemProperties-
-
whenEnv
Condition on environment variable with value. The before test logic will only run when this condition matches.- Parameters:
name-value-
-
whenEnv
Condition on environment variables. The before test logic will only run when this condition matches.- Parameters:
envs-
-
build
- Specified by:
buildin interfaceTestActionBuilder<T extends AbstractSuiteActionContainer>- Overrides:
buildin classAbstractTestContainerBuilder<T extends AbstractSuiteActionContainer,S extends AbstractSuiteContainerBuilder<T, S>>
-