org.universAAL.support.directives.checks
Class LicenseFileCheckFix

Package class diagram package LicenseFileCheckFix
java.lang.Object
  extended by org.universAAL.support.directives.checks.LicenseFileCheckFix
All Implemented Interfaces:
APICheck, APIFixableCheck

public class LicenseFileCheckFix
extends Object
implements APIFixableCheck

Check that ASL2.0.txt and NOTICE.txt files Exists. Also checks that LICENSE.txt does not exist.

Author:
amedrano

Constructor Summary
LicenseFileCheckFix()
           
 
Method Summary
 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)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseFileCheckFix

public LicenseFileCheckFix()
Method Detail

check

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

Specified by:
check in interface APICheck
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

fix

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

Specified by:
fix in interface APIFixableCheck
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2014 universAAL Consortium. All Rights Reserved.