de.twenty11.unitprofiler.maven.plugin
Class AgentMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.twenty11.unitprofiler.maven.plugin.AbstractUnitProfilerMojo
          extended by de.twenty11.unitprofiler.maven.plugin.AgentMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AgentMojo
extends AbstractUnitProfilerMojo

Prepares a property pointing to the unitProfiler runtime agent that can be passed as a VM argument to the application under test. Depending on the project packaging type by default a property with the following name is set:

Resulting coverage information is collected during execution and by default written to a file when the process terminates.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AgentMojo()
           
 
Method Summary
 void executeMojo()
           
 
Methods inherited from class de.twenty11.unitprofiler.maven.plugin.AbstractUnitProfilerMojo
execute, getProject
 
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

AgentMojo

public AgentMojo()
Method Detail

executeMojo

public void executeMojo()
Specified by:
executeMojo in class AbstractUnitProfilerMojo


Copyright © 2013. All rights reserved.