Class AntRunAction

  • All Implemented Interfaces:
    com.consol.citrus.common.Described, com.consol.citrus.common.Named, com.consol.citrus.TestAction, com.consol.citrus.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
    Author:
    Christoph Deppisch
    • Method Detail

      • doExecute

        public void doExecute​(com.consol.citrus.context.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.