org.sonar.api.batch.sensor.test
Enum Coverage.CoverageType

java.lang.Object
  extended by java.lang.Enum<Coverage.CoverageType>
      extended by 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>


Enum Constant Summary
INTEGRATION
           
OVERALL
           
UNIT
           
 
Method Summary
 Metric<String> conditionsByLine()
           
 Metric<Integer> conditionsToCover()
           
 Metric<String> coveredConditionsByLine()
           
 Metric<String> lineHitsData()
           
 Metric<Integer> linesToCover()
           
 Metric<Integer> uncoveredConditions()
           
 Metric<Integer> uncoveredLines()
           
static Coverage.CoverageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Coverage.CoverageType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNIT

public static final Coverage.CoverageType UNIT

INTEGRATION

public static final Coverage.CoverageType INTEGRATION

OVERALL

public static final Coverage.CoverageType OVERALL
Method Detail

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.