org.scalabench.plugins.dacapo
Class ConfigurationMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.scalabench.plugins.dacapo.AbstractDacapoBenchmarkMojo
          extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ConfigurationMojo()
           
 
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.scalabench.plugins.dacapo.AbstractDacapoBenchmarkMojo
getBenchmarkName, getBenchmarkNameFromArtifactId, getLibraries, getProject, logDebug, logError, logInfo, logWarn
 
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
 

Constructor Detail

ConfigurationMojo

public ConfigurationMojo()
Method Detail

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.