|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CoverageAggregationMode>
hudson.plugins.cobertura.targets.CoverageAggregationMode
public enum CoverageAggregationMode
Different ways of aggregating data series {x_1,x_2,x_3,...}, which can be represented as f(...f(f(ZERO,x_1),x_2)...,x_n)
| Enum Constant Summary | |
|---|---|
COUNT_NON_ZERO
Treat (0/0) as "no data", then compute "# of non-zero data/# of data." |
|
NONE
Aggregation that doesn't produce any value at all. |
|
PRODUCT
x_1 * x_2 * x_3 + ... |
|
SUM
Adds up numerator and denominator separately. |
|
| Field Summary | |
|---|---|
Ratio |
ZERO
Initial value of this aggregation mode, which is the output of the aggregation when the data series is empty. |
| Method Summary | |
|---|---|
abstract Ratio |
aggregate(Ratio a,
Ratio b)
Combinator function. |
static CoverageAggregationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CoverageAggregationMode[] |
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 |
|---|
public static final CoverageAggregationMode NONE
public static final CoverageAggregationMode SUM
public static final CoverageAggregationMode PRODUCT
public static final CoverageAggregationMode COUNT_NON_ZERO
| Field Detail |
|---|
public final Ratio ZERO
| Method Detail |
|---|
public static CoverageAggregationMode[] values()
for (CoverageAggregationMode c : CoverageAggregationMode.values()) System.out.println(c);
public static CoverageAggregationMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public abstract Ratio aggregate(Ratio a,
Ratio b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||