
public class LicenseHeaderCheckFix extends Object implements APIFixableCheck, SourceChecker
| Modifier and Type | Class and Description |
|---|---|
static class |
LicenseHeaderCheckFix.CommentParserState |
| Constructor and Description |
|---|
LicenseHeaderCheckFix() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(org.apache.maven.project.MavenProject mavenproject,
org.apache.maven.plugin.logging.Log log) |
void |
fix(org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.plugin.logging.Log log) |
boolean |
passesTest(File sourceFile) |
public boolean check(org.apache.maven.project.MavenProject mavenproject,
org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
public void fix(org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
fix in interface APIFixableCheckorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic boolean passesTest(File sourceFile)
passesTest in interface SourceCheckerCopyright © 2018 universAAL Consortium. All rights reserved.