Package org.citrusframework.actions
Class AntRunAction.Builder
java.lang.Object
org.citrusframework.AbstractTestActionBuilder<AntRunAction,AntRunAction.Builder>
org.citrusframework.actions.AntRunAction.Builder
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<AntRunAction>
- Enclosing class:
- AntRunAction
public static final class AntRunAction.Builder
extends AbstractTestActionBuilder<AntRunAction,AntRunAction.Builder>
implements ReferenceResolverAware
Action builder.
-
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.AbstractTestActionBuilder
selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AntRunAction.Builderantrun()static AntRunAction.Builderbuild()buildFilePath(String buildFilePath) Sets the build file path.listener(org.apache.tools.ant.BuildListener buildListener) Adds custom build listener implementation.listenerName(String buildListener) Adds custom build listener implementation.properties(Properties properties) Adds build properties.Adds a build property by name and value.propertyFile(String filePath) Adds a build property file reference by file path.voidsetReferenceResolver(ReferenceResolver referenceResolver) Build target name to call.Multiple build target names to call.Methods inherited from class org.citrusframework.AbstractTestActionBuilder
actor, description, getActor, getDescription, getName, name
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
antrun
-
antrun
-
buildFilePath
Sets the build file path.- Parameters:
buildFilePath-- Returns:
-
target
Build target name to call.- Parameters:
target-
-
targets
Multiple build target names to call.- Parameters:
targets-
-
property
Adds a build property by name and value.- Parameters:
name-value-
-
properties
Adds build properties.- Parameters:
properties-
-
propertyFile
Adds a build property file reference by file path.- Parameters:
filePath-
-
listener
Adds custom build listener implementation.- Parameters:
buildListener-
-
listenerName
Adds custom build listener implementation.- Parameters:
buildListener-
-
setReferenceResolver
- Specified by:
setReferenceResolverin interfaceReferenceResolverAware
-
build
- Specified by:
buildin interfaceTestActionBuilder<AntRunAction>
-