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
@Mojo(name="apply", threadSafe=true) public class SpotlessApplyMojo extends AbstractSpotlessMojo
Performs formatting of all source files according to configured formatters.
-
-
Field Summary
-
Fields inherited from class com.diffplug.spotless.maven.AbstractSpotlessMojo
buildContext
-
-
Constructor Summary
Constructors Constructor Description SpotlessApplyMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
process(java.lang.Iterable<java.io.File> files, Formatter formatter, UpToDateChecker upToDateChecker)
-
Methods inherited from class com.diffplug.spotless.maven.AbstractSpotlessMojo
execute
-
-
-
-
Method Detail
-
process
protected void process(java.lang.Iterable<java.io.File> files, Formatter formatter, UpToDateChecker upToDateChecker) throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
process
in classAbstractSpotlessMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-