Package org.citrusframework.actions
Class AntRunAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.AntRunAction
- All Implemented Interfaces:
Described,Named,TestAction,TestActorAware
Action calls Apache ANT with given build file and runs ANT targets
as separate build. User can set and overwrite properties for the build.
Build logging output is forwarded to test run logger.
- Since:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(TestContext context) Subclasses may add custom execution logic here.Gets the buildFilePath.org.apache.tools.ant.BuildListenerGets the buildListener.Gets the properties.Gets the propertyFilePath.Gets the target.Gets the targets.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Method Details
-
doExecute
Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getBuildFilePath
Gets the buildFilePath.- Returns:
- the buildFilePath the buildFilePath to get.
-
getTarget
Gets the target.- Returns:
- the target the target to get.
-
getTargets
Gets the targets.- Returns:
- the targets the targets to get.
-
getProperties
Gets the properties.- Returns:
- the properties the properties to get.
-
getPropertyFilePath
Gets the propertyFilePath.- Returns:
- the propertyFilePath the propertyFilePath to get.
-
getBuildListener
public org.apache.tools.ant.BuildListener getBuildListener()Gets the buildListener.- Returns:
- the buildListener the buildListener to get.
-