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

com.xlrit.gears.runner.LoadMojo Maven / Gradle / Ivy

There is a newer version: 1.17.5
Show newest version
package com.xlrit.gears.runner;

import com.xlrit.gears.runner.driver.Config;
import com.xlrit.gears.runner.driver.Driver;
import com.xlrit.gears.runner.driver.LoadConfig;
import com.xlrit.gears.runner.driver.LoadDriver;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;

@Mojo(name = "load", defaultPhase = LifecyclePhase.VERIFY, requiresProject = false)
public class LoadMojo extends RunnerMojo {
	@Parameter(property = "gears.runner.initAudit")
	private Boolean initAudit;

	@Override
	protected Config getConfig() {
		LoadConfig config = new LoadConfig();
		if (initAudit != null) config.initAuditing = initAudit;
		return config;
	}

	@Override @SuppressWarnings("rawtypes")
	protected Driver getDriver() {
		return new LoadDriver();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy