org.scalabench.plugins.dacapo
Class ConfigurationMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.scalabench.plugins.dacapo.AbstractDacapoBenchmarkMojo
org.scalabench.plugins.dacapo.ConfigurationMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ConfigurationMojo
- extends AbstractDacapoBenchmarkMojo
Generate the benchmark's configuration file (.cnf).
While most configuration options need to be configured explicitly, the benchmark's dependency declarations are derived
from the POM; all provided-scoped dependencies are assumed to be dependencies of the benchmark itself (as opposed to
dependencies of the harness).
- Since:
- 0.1.0
- Is defined by the goal name:
- configuration
- Is bound to the specified phase of the standard build lifecycle:
- generate-resources
- Requires the dependencies in this specified scope:
- compile
- Mojo is thread safe:
- true
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
|
List<String> |
getSizeNames()
Returns the names of the benchmark's input sizes, sorted according to common convention from smallest to largest. |
| 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 |
ConfigurationMojo
public ConfigurationMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getSizeNames
public List<String> getSizeNames()
- Returns the names of the benchmark's input sizes, sorted according to common convention from smallest to largest.
- Returns:
- the sorted list of input size names
- See Also:
SizeNameComparator
Copyright © 2010-2012 Technische Universität Darmstadt. All Rights Reserved.