com.atlassian.maven.plugin.clover.internal
Class ConfigUtil

java.lang.Object
  extended by com.atlassian.maven.plugin.clover.internal.ConfigUtil

public class ConfigUtil
extends java.lang.Object

A helper class to manage configuration of the maven-clover2-plugin


Constructor Summary
ConfigUtil(CloverConfiguration config)
           
 
Method Summary
 java.lang.String resolveCloverDatabase()
           
 org.apache.maven.project.MavenProject resolveMavenProject()
          If a singleCloverDatabase is configured, return the first project in the reactor.
 java.io.File resolveSnapshotFile(java.io.File snapshot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUtil

public ConfigUtil(CloverConfiguration config)
Method Detail

resolveCloverDatabase

public java.lang.String resolveCloverDatabase()

resolveMavenProject

public org.apache.maven.project.MavenProject resolveMavenProject()
If a singleCloverDatabase is configured, return the first project in the reactor. Otherwise, return the current project.

Returns:
the project to use

resolveSnapshotFile

public java.io.File resolveSnapshotFile(java.io.File snapshot)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.