Klasse CoverageMetric
java.lang.Object
io.jenkins.plugins.coverage.model.CoverageMetric
- Alle implementierten Schnittstellen:
 Serializable,Comparable<CoverageMetric>
A coverage metric to identify the coverage result type. Note: this class has a natural ordering that is inconsistent
 with equals.
- Autor:
 - Ullrich Hafner
 - Siehe auch:
 
- 
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final CoverageMetricBranch coverage.static final CoverageMetricClass coverage.static final CoverageMetricFile coverage.static final CoverageMetricInstruction coverage.static final CoverageMetricLine coverage.static final CoverageMetricMethod coverage.static final CoverageMetricModule coverage.static final CoverageMetricPackage or namespace coverage. - 
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintcompareTo(CoverageMetric other) booleanbooleanequalsIgnoreCase(String searchName) Checks if this instance has a name that is equal to the specified name (ignoring case).static booleanequalsIgnoreCase(String a, String b) Compares two CharSequences, returningtrueif they represent equal sequences of characters, ignoring case.static List<CoverageMetric> Provides all available values ofCoverageMetric.getName()inthashCode()booleanisLeaf()toString()static CoverageMetricCreates a newCoverageMetricwith the specified name. 
- 
Felddetails
- 
MODULE
Module coverage. - 
PACKAGE
Package or namespace coverage. - 
FILE
File coverage. - 
CLASS
Class coverage. - 
METHOD
Method coverage. - 
INSTRUCTION
Instruction coverage. - 
LINE
Line coverage. - 
BRANCH
Branch coverage. 
 - 
 - 
Methodendetails
- 
valueOf
Creates a newCoverageMetricwith the specified name. If the name is the same as the name of one of the predefined metrics, then the existing metric is returned.- Parameter:
 name- the name of the metric- Gibt zurück:
 - the metric
 
 - 
getAvailableCoverageMetrics
Provides all available values ofCoverageMetric.- Gibt zurück:
 - the available metrics
 
 - 
equalsIgnoreCase
Checks if this instance has a name that is equal to the specified name (ignoring case).- Parameter:
 searchName- the coverage metric name to check- Gibt zurück:
 trueif this instance has the same name,falseotherwise
 - 
equalsIgnoreCase
Compares two CharSequences, returning
trueif they represent equal sequences of characters, ignoring case.nulls are handled without exceptions. Twonullreferences are considered equal. The comparison is case insensitive.StringUtils.equalsIgnoreCase(null, null) = true StringUtils.equalsIgnoreCase(null, "abc") = false StringUtils.equalsIgnoreCase("abc", null) = false StringUtils.equalsIgnoreCase("abc", "abc") = true StringUtils.equalsIgnoreCase("abc", "ABC") = true- Parameter:
 a- the first CharSequence, may benullb- the second CharSequence, may benull- Gibt zurück:
 trueif the CharSequences are equal (case-insensitive), or bothnull
 - 
getName
 - 
isLeaf
public boolean isLeaf() - 
toString
 - 
compareTo
- Angegeben von:
 compareToin SchnittstelleComparable<CoverageMetric>
 - 
equals
 - 
hashCode
public int hashCode() 
 -