All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.co.automatictester.ConfigurationMojo Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package uk.co.automatictester;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Parameter;
import uk.co.automatictester.lightning.enums.Mode;

import java.io.File;

abstract class ConfigurationMojo extends AbstractMojo {

    /**
     * Execution mode.
     * Allowed values: verify, report
     */
    @Parameter(readonly = true)
    Mode mode;

    /**
     * XML config file with test definitions
     */
    @Parameter(readonly = true)
    File testSetXml;

    /**
     * JMeter CSV file
     */
    @Parameter(required = true, readonly = true)
    File jmeterCsv;

    /**
     * PerfMon CSV file
     */
    @Parameter(readonly = true)
    File perfmonCsv;

    String getMode() {
        return mode.toString().toLowerCase();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy