Package org.citrusframework.mvn.plugin
Class AbstractCitrusMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.citrusframework.mvn.plugin.AbstractCitrusMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CreateDocsMojo,CreateTestMojo,GenerateDocsMojo,GenerateTestMojo
public abstract class AbstractCitrusMojo
extends org.apache.maven.plugin.AbstractMojo
- Since:
- 2.7.4
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidSubclass execution logic.final voidexecute()getDocs()Gets the docs.Gets the framework.getTests()Gets the tests.Gets the testSrcDirectory.getType()Gets the type.voidsetDocs(DocsConfiguration docs) Sets the docs.voidsetTests(List<TestConfiguration> tests) Sets the tests.voidSets the type.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AbstractCitrusMojo
public AbstractCitrusMojo()
-
-
Method Details
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
doExecute
public abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionSubclass execution logic.- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getTests
Gets the tests.- Returns:
-
setTests
Sets the tests.- Parameters:
tests-
-
getDocs
Gets the docs.- Returns:
-
setDocs
Sets the docs.- Parameters:
docs-
-
getFramework
Gets the framework.- Returns:
-
getType
Gets the type.- Returns:
-
setType
Sets the type.- Parameters:
type-
-
getTestSrcDirectory
Gets the testSrcDirectory.- Returns:
-