eu.lindenbaum.maven.erlang
Class CoverageReportScript
java.lang.Object
eu.lindenbaum.maven.erlang.CoverageReportScript
- All Implemented Interfaces:
- Script<CoverageReportResult>
public class CoverageReportScript
- extends Object
A script that returns the coverage report for some project.
- Author:
- Olle Törnström
Fields inherited from interface eu.lindenbaum.maven.erlang.Script |
NL |
Method Summary |
String |
get()
Returns an evaluateable String containing the erlang script of the
implementing class. |
CoverageReportResult |
handle(com.ericsson.otp.erlang.OtpErlangObject output)
Converts the result term of the Script execution into another
representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
script
protected final String script
CoverageReportScript
public CoverageReportScript(File testDir,
List<File> tests,
Collection<File> sources,
File coverageReportDir,
String coverageReportName)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
get
public String get()
- Description copied from interface:
Script
- Returns an evaluateable
String
containing the erlang script of the
implementing class.
- Returns:
- An erlang script that can be evaluated.
handle
public CoverageReportResult handle(com.ericsson.otp.erlang.OtpErlangObject output)
- Description copied from interface:
Script
- Converts the result term of the
Script
execution into another
representation.
- Parameters:
output
- The return term of the Script
execution.
- Returns:
- A
Script
specific (converted) return value.
Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.