org.scalabench.plugins.dacapo
Class AbstractDacapoBenchmarkMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.scalabench.plugins.dacapo.AbstractDacapoBenchmarkMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractIntegrationTestMojo, ConfigurationMojo, PackageDataMojo, PackageLibrariesMojo

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


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractDacapoBenchmarkMojo()
           
 
Method Summary
 String getBenchmarkName()
           
static String getBenchmarkNameFromArtifactId(String artifactId)
           
 Set<org.apache.maven.artifact.Artifact> getLibraries()
          Gets the library artifacts the benchmark depends on.
 org.apache.maven.project.MavenProject getProject()
           
 void logDebug(String format, Object... args)
           
 void logError(String format, Object... args)
           
 void logInfo(String format, Object... args)
           
 void logWarn(String format, Object... args)
           
 
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

AbstractDacapoBenchmarkMojo

public AbstractDacapoBenchmarkMojo()
Method Detail

getProject

public org.apache.maven.project.MavenProject getProject()

getBenchmarkName

public String getBenchmarkName()

getBenchmarkNameFromArtifactId

public static String getBenchmarkNameFromArtifactId(String artifactId)

getLibraries

public Set<org.apache.maven.artifact.Artifact> getLibraries()
                                                     throws org.apache.maven.plugin.MojoExecutionException
Gets the library artifacts the benchmark depends on. All provided-scoped dependencies are assumed to be dependencies of the benchmark itself (as opposed to dependencies of the harness).

Throws:
org.apache.maven.plugin.MojoExecutionException

logDebug

public void logDebug(String format,
                     Object... args)

logInfo

public void logInfo(String format,
                    Object... args)

logWarn

public void logWarn(String format,
                    Object... args)

logError

public void logError(String format,
                     Object... args)


Copyright © 2010-2012 Technische Universität Darmstadt. All Rights Reserved.