org.universAAL.support.directives.mojos
Class MainMethodCheckMojo

Package class diagram package MainMethodCheckMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.universAAL.support.directives.api.AbstractCheckMojo
          extended by org.universAAL.support.directives.mojos.MainMethodCheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MainMethodCheckMojo
extends AbstractCheckMojo

This Mojo will test whether the uAAL projects have any main methods.
Libraries like universAAL should not have main methods, unless is absolutely necessary, else these methods may confuse developers and provoke unexpected results.

Author:
amedrano

Field Summary
 
Fields inherited from class org.universAAL.support.directives.api.AbstractCheckMojo
check, failed
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MainMethodCheckMojo()
           
 
Method Summary
 APICheck getCheck()
          
 
Methods inherited from class org.universAAL.support.directives.api.AbstractCheckMojo
execute, getProject, isSnapshot
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMethodCheckMojo

public MainMethodCheckMojo()
Method Detail

getCheck

public APICheck getCheck()

Specified by:
getCheck in class AbstractCheckMojo


Copyright © 2014 universAAL Consortium. All Rights Reserved.