org.codehaus.mojo.emma
Class EmmaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
EmmaMojo
public EmmaMojo()
runEmma
protected void runEmma(String commandName,
String[] commandArgs)
- Run emma command
- Parameters:
commandName
- name of the emma command: run, instr, report, mergecommandArgs
- parameters to run emma
runEmma
protected void runEmma(String commandName,
List commandArgs)
- Run emma command
- Parameters:
commandName
- name of the emma command: run, instr, report, mergecommandArgs
- parameters to run emma (List of String)
propertyFormat
protected String propertyFormat(CharSequence s)
- Parameters:
s
- Text
- Returns:
- Text, all \ are replaced by \\
Copyright © 2011 Codehaus. All Rights Reserved.