Class AntRunAction

java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.AntRunAction
All Implemented Interfaces:
Described, Named, TestAction, TestActorAware

public class AntRunAction extends AbstractTestAction
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
  • Method Details

    • doExecute

      public void doExecute(TestContext context)
      Description copied from class: AbstractTestAction
      Subclasses may add custom execution logic here.
      Specified by:
      doExecute in class AbstractTestAction
    • getBuildFilePath

      public String getBuildFilePath()
      Gets the buildFilePath.
      Returns:
      the buildFilePath the buildFilePath to get.
    • getTarget

      public String getTarget()
      Gets the target.
      Returns:
      the target the target to get.
    • getTargets

      public String getTargets()
      Gets the targets.
      Returns:
      the targets the targets to get.
    • getProperties

      public Properties getProperties()
      Gets the properties.
      Returns:
      the properties the properties to get.
    • getPropertyFilePath

      public String 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.