Class FMT

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.spotify.fmt.AbstractFMT
com.spotify.fmt.FMT
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="format", defaultPhase=PROCESS_SOURCES, threadSafe=true) public class FMT extends AbstractFMT
FMT class.
Version:
$Id: $Id
Author:
guisim
  • Constructor Details

    • FMT

      public FMT()
  • Method Details

    • shouldWriteReformattedFiles

      protected boolean shouldWriteReformattedFiles()
      Description copied from class: AbstractFMT
      Whether to write reformatted files to disk.
      Specified by:
      shouldWriteReformattedFiles in class AbstractFMT
    • getProcessingLabel

      protected String getProcessingLabel()
      Provides the name of the label used when a non-formatted file is found.
      Specified by:
      getProcessingLabel in class AbstractFMT
      Returns:
      the label to use in the log