Package org.jacoco.core.analysis
Enum Class ICounter.CounterValue
- All Implemented Interfaces:
Serializable
,Comparable<ICounter.CounterValue>
,Constable
- Enclosing interface:
- ICounter
Different values provided by a counter.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNumber of covered itemsRatio of covered to total itemsNumber of missed itemsRatio of missed to total itemsTotal number of items -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ICounter.CounterValue
Returns the enum constant of this class with the specified name.static ICounter.CounterValue[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOTALCOUNT
Total number of items -
MISSEDCOUNT
Number of missed items -
COVEREDCOUNT
Number of covered items -
MISSEDRATIO
Ratio of missed to total items -
COVEREDRATIO
Ratio of covered to total items
-
-
Constructor Details
-
CounterValue
private CounterValue()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-