org.sonar.api.batch.sensor.test
Enum Coverage.CoverageType
java.lang.Object
java.lang.Enum<Coverage.CoverageType>
org.sonar.api.batch.sensor.test.Coverage.CoverageType
- All Implemented Interfaces:
- Serializable, Comparable<Coverage.CoverageType>
- Enclosing interface:
- Coverage
public static enum Coverage.CoverageType
- extends Enum<Coverage.CoverageType>
UNIT
public static final Coverage.CoverageType UNIT
INTEGRATION
public static final Coverage.CoverageType INTEGRATION
OVERALL
public static final Coverage.CoverageType OVERALL
values
public static Coverage.CoverageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Coverage.CoverageType c : Coverage.CoverageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Coverage.CoverageType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
linesToCover
public Metric<Integer> linesToCover()
uncoveredLines
public Metric<Integer> uncoveredLines()
lineHitsData
public Metric<String> lineHitsData()
conditionsToCover
public Metric<Integer> conditionsToCover()
uncoveredConditions
public Metric<Integer> uncoveredConditions()
conditionsByLine
public Metric<String> conditionsByLine()
coveredConditionsByLine
public Metric<String> coveredConditionsByLine()
Copyright © 2009–2015 SonarSource. All rights reserved.