All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sanity4j.workflow.tool.CoberturaMergeReader Maven / Gradle / Ivy

Go to download

Sanity4J was created to simplify running multiple static code analysis tools on the Java projects. It provides a single entry point to run all the selected tools and produce a consolidated report, which presents all findings in an easily accessible manner.

There is a newer version: 1.8.2
Show newest version
package com.github.sanity4j.workflow.tool; 

import java.io.File;
import java.util.Properties;

import com.github.sanity4j.util.ExtractStats;

/**
 * CoberturaMergeReader - The result of the Cobertura Merge doesn't require reading,
 * therefore, this class does nothing.
 *
 * @author Darian Bridge
 * @since Sanity4J 1.0.4
 */
public class CoberturaMergeReader implements ResultReader
{
	/** The properties used to configure this {@link ResultReader}. */
	private final Properties properties = new Properties();
	
	/** {@inheritDoc} */
	public void setProperties(final Properties properties) 
	{
		this.properties.putAll(properties);
	}

    /**
     * Do nothing.
     * @param resultFile the result file.
     */
    public void setResultFile(final File resultFile)
    {
        // Do nothing.
    }

    /**
     * Do nothing.
     * @param stats the extract stats.
     */
    public void setStats(final ExtractStats stats)
    {
        // Do nothing.
    }

    /**
     * @return null
     */
    public String getDescription()
    {
        return null;
    }

    /**
     * Do nothing.
     */
    public void run()
    {
        // Do nothing.
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy