Klasse MethodCoverageNode
java.lang.Object
io.jenkins.plugins.coverage.model.CoverageNode
io.jenkins.plugins.coverage.model.MethodCoverageNode
- Alle implementierten Schnittstellen:
Serializable
A
CoverageNode
for a specific method.- Autor:
- Florian Orendi
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungMethodCoverageNode
(String name, int lineNumber) Creates a new coverage item node with the given name. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected CoverageNode
Creates a copied instance of this node that has no children, leaves, and parent yet.boolean
int
int
hashCode()
boolean
Checks whether the line number is valid.Von Klasse geerbte Methoden io.jenkins.plugins.coverage.model.CoverageNode
add, add, computeDelta, computeDeltaAsPercentage, copyTree, copyTree, filterPackageStructure, find, findByHashCode, getAll, getAllFileCoverageNodes, getChangeCoverageTree, getChildren, getCoverage, getFileAmountWithChangedCoverage, getFileAmountWithIndirectCoverageChanges, getImportantMetrics, getIndirectCoverageChangesTree, getLeaves, getLineAmountWithChangedCoverage, getLineAmountWithIndirectCoverageChanges, getMetric, getMetricFractions, getMetricPercentages, getMetrics, getMetricsDistribution, getName, getParent, getParentName, getPath, hasChangeCoverage, hasChangeCoverage, hasCodeChanges, hasIndirectCoverageChanges, hasIndirectCoverageChanges, hasParent, isRoot, mergePath, printCoverageFor, printCoverageFor, readResolve, splitPackages, toString
-
Konstruktordetails
-
MethodCoverageNode
Creates a new coverage item node with the given name.- Parameter:
name
- The human-readable name of the nodelineNumber
- The line number where the method begins (not including the method head)
-
-
Methodendetails
-
hasValidLineNumber
public boolean hasValidLineNumber()Checks whether the line number is valid.- Gibt zurück:
true
if the line number is valid, elsefalse
-
getLineNumber
public int getLineNumber() -
copyEmpty
Beschreibung aus Klasse kopiert:CoverageNode
Creates a copied instance of this node that has no children, leaves, and parent yet.- Setzt außer Kraft:
copyEmpty
in KlasseCoverageNode
- Gibt zurück:
- the new and empty node
-
equals
- Setzt außer Kraft:
equals
in KlasseCoverageNode
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlasseCoverageNode
-