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

com.github.sanity4j.workflow.tool.JaCoCoMergeRunner 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 com.github.sanity4j.util.Tool;

/**
 * CoberturaMergeRunner - a work unit that merges JaCoco data files.
 * 
 * @author Yiannis Paschalidis
 * @since Sanity4J 1.8.0
 */
public class JaCoCoMergeRunner extends AbstractToolRunner
{
    /**
     * Creates a JaCoCoMergeRunner.
     */
    public JaCoCoMergeRunner()
    {
        super(Tool.JACOCO_MERGE);
    }

    /**
     * Produces the Merged JaCoco data file.
     * 
     * @param commandLine the Merge JaCoCo data file command line.
     */
    @Override
    public void runTool(final String commandLine)
    {
       // TODO: Does nothing
    }

    /**
     * @return the file path where the tool should place it's output.
     */
    @Override
    protected String getToolResultFile()
    {
        return null;
    }

    /**
     * @return the description of this WorkUnit.
     */
    @Override
    public String getDescription()
    {
        return "Running JaCoCo Data File Merge";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy