Package com.spotify.fmt
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 AbstractFMTFMT class.- Version:
- $Id: $Id
- Author:
- guisim
-
-
Constructor Summary
Constructors Constructor Description FMT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetProcessingLabel()Provides the name of the label used when a non-formatted file is found.protected booleanshouldWriteReformattedFiles()Whether to write reformatted files to disk.-
Methods inherited from class com.spotify.fmt.AbstractFMT
execute, getResult, postExecute
-
-
-
-
Method Detail
-
shouldWriteReformattedFiles
protected boolean shouldWriteReformattedFiles()
Description copied from class:AbstractFMTWhether to write reformatted files to disk.- Specified by:
shouldWriteReformattedFilesin classAbstractFMT
-
getProcessingLabel
protected String getProcessingLabel()
Provides the name of the label used when a non-formatted file is found.- Specified by:
getProcessingLabelin classAbstractFMT- Returns:
- the label to use in the log
-
-