Package com.cosium.code.format
Class AbstractFormatMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.cosium.code.format.AbstractMavenGitCodeFormatMojo
-
- com.cosium.code.format.AbstractModuleMavenGitCodeFormatMojo
-
- com.cosium.code.format.AbstractFormatMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
FormatCodeMojo,ValidateCodeFormat
public abstract class AbstractFormatMojo extends AbstractModuleMavenGitCodeFormatMojo
Created on 16/01/18.- Author:
- Reda.Housni-Alaoui
-
-
Field Summary
-
Fields inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
HOOKS_DIR
-
-
Constructor Summary
Constructors Constructor Description AbstractFormatMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute()protected abstract voidprocess(Path path)-
Methods inherited from class com.cosium.code.format.AbstractModuleMavenGitCodeFormatMojo
execute
-
Methods inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
artifactId, codeFormatters, getOrCreateHooksDirectory, gitBaseDir, gitRepository, isExecutionRoot, pomFile, sourceDirs, targetDir
-
-
-
-
Method Detail
-
doExecute
protected final void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractModuleMavenGitCodeFormatMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
process
protected abstract void process(Path path) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-