org.codehaus.mojo.emma
Class EmmaMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.emma.EmmaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
EmmaInstrMojo, EmmaReportMojo

public abstract class EmmaMojo
extends org.apache.maven.plugin.AbstractMojo

Helper class for other emma Mojos.

Author:
Anna Nieslony

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EmmaMojo()
           
 
Method Summary
protected  java.lang.String propertyFormat(java.lang.CharSequence s)
           
protected  void runEmma(java.lang.String commandName, java.util.List commandArgs)
          Run emma command
protected  void runEmma(java.lang.String commandName, java.lang.String[] commandArgs)
          Run emma command
 
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
 

Constructor Detail

EmmaMojo

public EmmaMojo()
Method Detail

runEmma

protected void runEmma(java.lang.String commandName,
                       java.lang.String[] commandArgs)
Run emma command

Parameters:
commandName - name of the emma command: run, instr, report, merge
commandArgs - parameters to run emma

runEmma

protected void runEmma(java.lang.String commandName,
                       java.util.List commandArgs)
Run emma command

Parameters:
commandName - name of the emma command: run, instr, report, merge
commandArgs - parameters to run emma (List of String)

propertyFormat

protected java.lang.String propertyFormat(java.lang.CharSequence s)
Parameters:
s - Text
Returns:
Text, all \ are replaced by \\


Copyright © 2009. All Rights Reserved.