org.universAAL.support.directives.checks
Class MainMethodCheck

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

public class MainMethodCheck
extends Object
implements SourceChecker, APICheck

Author:
amedrano

Field Summary
static String COMMENT_REGEXP
           
static String MAIN_REGEXP
           
 
Constructor Summary
MainMethodCheck()
           
 
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
 

Field Detail

COMMENT_REGEXP

public static String COMMENT_REGEXP

MAIN_REGEXP

public static String MAIN_REGEXP
Constructor Detail

MainMethodCheck

public MainMethodCheck()
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

passesTest

public boolean passesTest(File sourceFile)

Specified by:
passesTest in interface SourceChecker


Copyright © 2014 universAAL Consortium. All Rights Reserved.