Class 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 Detail

      • AbstractSpotlessMojo

        public AbstractSpotlessMojo()
    • 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