org.jacoco.maven
Class AbstractAgentMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jacoco.maven.AbstractJacocoMojo
          extended by org.jacoco.maven.AbstractAgentMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AgentITMojo, AgentMojo

public abstract class AbstractAgentMojo
extends AbstractJacocoMojo

Base class for preparing a property pointing to the JaCoCo runtime agent that can be passed as a VM argument to the application under test.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractAgentMojo()
           
 
Method Summary
 void executeMojo()
          Executes Mojo.
protected  void skipMojo()
          Skips Mojo.
 
Methods inherited from class org.jacoco.maven.AbstractJacocoMojo
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

AbstractAgentMojo

public AbstractAgentMojo()
Method Detail

executeMojo

public void executeMojo()
Description copied from class: AbstractJacocoMojo
Executes Mojo.

Specified by:
executeMojo in class AbstractJacocoMojo

skipMojo

protected void skipMojo()
Description copied from class: AbstractJacocoMojo
Skips Mojo.

Overrides:
skipMojo in class AbstractJacocoMojo


Copyright © 2009–2020 Mountainminds GmbH & Co. KG. All rights reserved.