@Mojo(name="validate",
defaultPhase=VALIDATE,
requiresProject=false,
threadSafe=true)
public class ValidateMojo
extends FormatterMojo
| Constructor and Description |
|---|
ValidateMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFormatFile(File file,
net.revelc.code.formatter.FormatterMojo.ResultCollector rc,
Properties hashCache,
String basedirPath,
boolean dryRun)
Format individual file.
|
void |
execute()
Execute.
|
getCompilerCodegenTargetPlatform, getCompilerCompliance, getCompilerSources, getEncoding, getTargetDirectorygetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
FormatterMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class FormatterMojoorg.apache.maven.plugin.MojoExecutionException - the mojo execution exceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()protected void doFormatFile(File file, net.revelc.code.formatter.FormatterMojo.ResultCollector rc, Properties hashCache, String basedirPath, boolean dryRun) throws IOException, org.apache.maven.plugin.MojoFailureException, org.eclipse.jface.text.BadLocationException, org.apache.maven.plugin.MojoExecutionException
FormatterMojodoFormatFile in class FormatterMojofile - the filerc - the rchashCache - the hash cachebasedirPath - the basedir pathIOException - Signals that an I/O exception has occurred.org.eclipse.jface.text.BadLocationException - the bad location exceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2010–2018. All rights reserved.