Package com.diffplug.spotless.maven
Class AbstractSpotlessMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.diffplug.spotless.maven.AbstractSpotlessMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
SpotlessApplyMojo
,SpotlessCheckMojo
public abstract class AbstractSpotlessMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Constructor Summary
Constructors Constructor Description AbstractSpotlessMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute()
protected abstract void
process(Iterable<File> files, Formatter formatter)
-
-
-
Method Detail
-
process
protected abstract void process(Iterable<File> files, Formatter formatter) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-