org.universAAL.support.directives.checks
Class MainMethodCheck
java.lang.Object
org.universAAL.support.directives.checks.MainMethodCheck
- All Implemented Interfaces:
- APICheck, SourceChecker
public class MainMethodCheck
- extends Object
- implements SourceChecker, APICheck
- Author:
- amedrano
Method Summary |
boolean |
check(org.apache.maven.project.MavenProject mavenproject,
org.apache.maven.plugin.logging.Log log)
|
boolean |
passesTest(File sourceFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMENT_REGEXP
public static String COMMENT_REGEXP
MAIN_REGEXP
public static String MAIN_REGEXP
MainMethodCheck
public MainMethodCheck()
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
passesTest
public boolean passesTest(File sourceFile)
-
- Specified by:
passesTest
in interface SourceChecker
Copyright © 2014 universAAL Consortium. All Rights Reserved.