org.apache.maven.plugin.coreit
Class CheckThreadSafetyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.CheckThreadSafetyMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class CheckThreadSafetyMojo
extends AbstractMojo

Checks the thread-safe retrieval of components from active component collections.

Author:
Benjamin Bentmann
Is defined by the goal name:
check-thread-safety
Is bound to the specified phase of the standard build lifecycle:
validate

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CheckThreadSafetyMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
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

CheckThreadSafetyMojo

public CheckThreadSafetyMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoFailureException - If the output file could not be created.
MojoExecutionException


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.