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
KonstruktorenKonstruktorBeschreibungMethodCoverageNode(String name, int lineNumber) Creates a new coverage item node with the given name. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected CoverageNodeCreates a copied instance of this node that has no children, leaves, and parent yet.booleanintinthashCode()booleanChecks 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:
trueif the line number is valid, elsefalse
-
getLineNumber
public int getLineNumber() -
copyEmpty
Beschreibung aus Klasse kopiert:CoverageNodeCreates a copied instance of this node that has no children, leaves, and parent yet.- Setzt außer Kraft:
copyEmptyin KlasseCoverageNode- Gibt zurück:
- the new and empty node
-
equals
- Setzt außer Kraft:
equalsin KlasseCoverageNode
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseCoverageNode
-