org.sonar.plugins.coverage.generic.GenericCoveragePlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-generic-coverage-plugin Show documentation
Show all versions of sonar-generic-coverage-plugin Show documentation
This SonarQube plugin imports coverage reports defined in a given format.
/*
* SonarQube Generic Coverage Plugin
* Copyright (C) 2014 SonarSource
* [email protected]
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
package org.sonar.plugins.coverage.generic;
import com.google.common.collect.ImmutableList;
import org.sonar.api.Properties;
import org.sonar.api.Property;
import org.sonar.api.SonarPlugin;
import java.util.List;
@Properties({
@Property(
key = GenericCoveragePlugin.REPORT_PATH_PROPERTY_KEY,
category = "Generic Coverage",
name = "Coverage report path",
description = "Path (absolute or relative) of the coverage report.",
project = true, global = false)
})
public class GenericCoveragePlugin extends SonarPlugin {
public static final String REPORT_PATH_PROPERTY_KEY = "sonar.genericcoverage.reportPath";
@Override
public List getExtensions() {
return ImmutableList.of(
GenericCoverageSensor.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy