Package com.diffplug.spotless.maven
Class SpotlessApplyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.diffplug.spotless.maven.AbstractSpotlessMojo
com.diffplug.spotless.maven.SpotlessApplyMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Performs formatting of all source files according to configured formatters.
-
Field Summary
Fields inherited from class com.diffplug.spotless.maven.AbstractSpotlessMojo
baseDir, buildContext, m2eEnableForIncrementalBuildFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.diffplug.spotless.maven.AbstractSpotlessMojo
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
SpotlessApplyMojo
public SpotlessApplyMojo()
-
-
Method Details
-
process
protected void process(String name, Iterable<File> files, Formatter formatter, UpToDateChecker upToDateChecker) throws org.apache.maven.plugin.MojoExecutionException - Specified by:
processin classAbstractSpotlessMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-