Uses of Class
com.parasoft.findings.jenkins.coverage.model.Node
-
Packages that use Node Package Description com.parasoft.findings.jenkins.coverage.api.metrics.source Contains logic and models for visualizing the colored HTML source code files.com.parasoft.findings.jenkins.coverage.api.metrics.steps New coverage model that tries to replace all the existing functionality with a more versatile model.com.parasoft.findings.jenkins.coverage.model Generic coverage model to parse and collect code coverage results of different tools. -
-
Uses of Node in com.parasoft.findings.jenkins.coverage.api.metrics.source
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.source with parameters of type Node Modifier and Type Method Description void
SourceCodePainter. processSourceCodePainting(Node rootNode, List<FileNode> files, String sourceCodeEncoding, io.jenkins.plugins.prism.SourceCodeRetention sourceCodeRetention, edu.hm.hafner.util.FilteredLog log)
Processes the source code painting. -
Uses of Node in com.parasoft.findings.jenkins.coverage.api.metrics.steps
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps that return Node Modifier and Type Method Description Node
CoverageViewModel. getNode()
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps that return types with arguments of type Node Modifier and Type Method Description protected io.jenkins.plugins.util.AbstractXmlStream<Node>
CoverageBuildAction. createXmlStream()
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps with parameters of type Node Modifier and Type Method Description void
FileChangesProcessor. attachChangedCodeLines(Node coverageNode, Map<String,io.jenkins.plugins.forensics.delta.FileChanges> codeChanges)
Attaches the changed code lines to the file nodes of the coverage tree.CoverageBuildAction
CoverageReporter. publishAction(String id, String icon, Node rootNode, Run<?,?> build, FilePath workspace, TaskListener listener, String configRefJob, String configRefBuild, List<CoverageQualityGate> qualityGates, String sourceCodeEncoding, io.jenkins.plugins.util.ResultHandler resultHandler, FilteredLogChain logChain)
Constructors in com.parasoft.findings.jenkins.coverage.api.metrics.steps with parameters of type Node Constructor Description CoverageBuildAction(Run<?,?> owner, String id, String icon, Node result, io.jenkins.plugins.util.QualityGateResult qualityGateResult, edu.hm.hafner.util.FilteredLog log, ReferenceResult referenceResult)
Creates a new instance ofCoverageBuildAction
.CoverageBuildAction(Run<?,?> owner, String id, String icon, Node result, io.jenkins.plugins.util.QualityGateResult qualityGateResult, edu.hm.hafner.util.FilteredLog log, String referenceBuildId, List<? extends Value> modifiedLinesCoverage, ReferenceResult referenceResult)
Creates a new instance ofCoverageBuildAction
. -
Uses of Node in com.parasoft.findings.jenkins.coverage.model
Subclasses of Node in com.parasoft.findings.jenkins.coverage.model Modifier and Type Class Description class
ClassNode
ANode
for a specific class.class
ContainerNode
ANode
which represents the top level node in the tree.class
FileNode
ANode
for a specific file.class
MethodNode
ANode
for a specific method.class
ModuleNode
ANode
which represents a module of a project.class
PackageNode
ANode
for a specific package.Methods in com.parasoft.findings.jenkins.coverage.model that return Node Modifier and Type Method Description Node
MethodNode. copy()
abstract Node
Node. copy()
Creates a copy of this instance that has no children and no parent yet.Node
Node. copyNode()
Creates a copy of this instance that has no children and no parent yet.Node
Node. copyTree()
Creates a deep copy of the tree with this as root node.Node
Node. copyTree(Node copiedParent)
Creates a deep copy of the tree with the specifiedNode
as root.Node
Node. filterByIndirectChanges()
Creates a new coverage tree that shows indirect coverage changes.Node
Node. filterByModifiedFiles()
Creates a new coverage tree that represents the modified files coverage.Node
Node. filterByModifiedLines()
Creates a new coverage tree that represents the modified lines coverage.Node
Node. getParent()
Returns the parent node.Node
Node. merge(Node other)
static Node
Node. merge(List<? extends Node> nodes)
Creates a new tree of mergednodes
if all nodes have the same name and metric.Methods in com.parasoft.findings.jenkins.coverage.model that return types with arguments of type Node Modifier and Type Method Description protected Optional<Node>
FileNode. filterTreeByIndirectChanges()
protected Optional<Node>
Node. filterTreeByIndirectChanges()
protected Optional<Node>
FileNode. filterTreeByModifiedFiles()
protected Optional<Node>
Node. filterTreeByModifiedFiles()
protected Optional<Node>
FileNode. filterTreeByModifiedLines()
protected Optional<Node>
Node. filterTreeByModifiedLines()
Optional<Node>
Node. find(Metric searchMetric, String searchName)
Finds the metric with the given name starting from this node.Optional<Node>
Node. findByHashCode(Metric searchMetric, int searchNameHashCode)
Finds the metric with the given hash code starting from this node.List<Node>
Node. getAll(Metric searchMetric)
Returns recursively all nodes for the specified metric type.List<Node>
Node. getChildren()
Methods in com.parasoft.findings.jenkins.coverage.model with parameters of type Node Modifier and Type Method Description void
Node. addChild(Node child)
Appends the specified child element to the list of children.NavigableMap<Metric,org.apache.commons.lang3.math.Fraction>
Node. computeDelta(Node reference)
Computes the delta of all metrics between this node and the specified reference node as fractions.Node
Node. copyTree(Node copiedParent)
Creates a deep copy of the tree with the specifiedNode
as root.Optional<Value>
Metric. getValueFor(Node node)
Returns the aggregated value of this metric for the specified tree of nodes.Node
Node. merge(Node other)
protected void
Node. removeChild(Node child)
Method parameters in com.parasoft.findings.jenkins.coverage.model with type arguments of type Node Modifier and Type Method Description void
Node. addAllChildren(Collection<? extends Node> nodes)
Adds alls given nodes as children to the current node.static Node
Node. merge(List<? extends Node> nodes)
Creates a new tree of mergednodes
if all nodes have the same name and metric.
-