@Mojo(name="check",
defaultPhase=VERIFY,
threadSafe=true)
public class Check
extends AbstractFMT
| Constructor and Description |
|---|
Check() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getProcessingLabel()
Provides the name of the label used when a non-formatted file is found.
|
protected void |
onNonComplyingFile(File file,
String formatted)
Hook called when the processd file is not compliant with the formatter.
|
protected void |
postExecute(List<String> filesProcessed,
int nonComplyingFiles)
Post Execute action.
|
execute, getFilesProcessed, logNumberOfFilesProcessedprotected void postExecute(List<String> filesProcessed, int nonComplyingFiles) throws org.apache.maven.plugin.MojoFailureException
postExecute in class AbstractFMTfilesProcessed - the list of processed files by the formatternonComplyingFiles - the number of files that are not compliantorg.apache.maven.plugin.MojoFailureException - if there is an exceptionprotected void onNonComplyingFile(File file, String formatted) throws IOException
onNonComplyingFile in class AbstractFMTfile - the file that is not compliantformatted - the corresponding formatted of the file.IOExceptionprotected String getProcessingLabel()
getProcessingLabel in class AbstractFMTCopyright © 2018. All rights reserved.