org.codehaus.mojo.cobertura
Class AbstractCoberturaMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.cobertura.AbstractCoberturaMojo
All Implemented Interfaces:
ContextEnabled, Mojo
Direct Known Subclasses:
CoberturaCheckMojo, CoberturaCleanMojo, CoberturaDatafileDumpMojo, CoberturaInstrumentMojo

public abstract class AbstractCoberturaMojo
extends AbstractMojo

Abstract Base for Cobertura Mojos.

Author:
Joakim Erdfelt

Field Summary
protected  ConfigCheck check
          The Check Configuration.
protected  File dataFile
           The Datafile Location.
protected  ConfigInstrumentation instrumentation
          The Instrumentation Configuration.
protected  List pluginClasspathList
          Maven Internal: List of artifacts for the plugin.
protected  org.apache.maven.project.MavenProject project
          Maven Internal: Project to interact with.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCoberturaMojo()
           
 
Method Summary
 void setTaskDefaults(AbstractTask task)
          Setup the Task defaults.
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
Maven Internal: Project to interact with.

Is defined by:
expression:
${project}
Is required.
Is readonly.

dataFile

protected File dataFile

The Datafile Location.

Is defined by:
expression:
${cobertura.datafile}
default-value:
${project.build.directory}/cobertura/cobertura.ser
Is required.
Is readonly.

check

protected ConfigCheck check
The Check Configuration.

Is defined by:
expression:
${check}

instrumentation

protected ConfigInstrumentation instrumentation
The Instrumentation Configuration.

Is defined by:
expression:
${instrumentation}

pluginClasspathList

protected List pluginClasspathList
Maven Internal: List of artifacts for the plugin.

Is defined by:
expression:
${plugin.artifacts}
Is required.
Is readonly.
Constructor Detail

AbstractCoberturaMojo

public AbstractCoberturaMojo()
Method Detail

setTaskDefaults

public void setTaskDefaults(AbstractTask task)
Setup the Task defaults.

Parameters:
task - the task to setup.


Copyright © 2005-2011 Codehaus. All Rights Reserved.