Class ClassNode
java.lang.Object
com.parasoft.findings.jenkins.coverage.model.Node
com.parasoft.findings.jenkins.coverage.model.ClassNode
- All Implemented Interfaces:
Serializable
A
Node
for a specific class.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Creates a copy of this instance that has no children and no parent yet.createMethodNode
(String methodName, String signature) Create a new method node with the given method name and signature and add it to the list of children.Methods inherited from class com.parasoft.findings.jenkins.coverage.model.Node
addAllChildren, addAllValues, addChild, addValue, aggregateValues, computeDelta, containsMetric, copyNode, copyTree, copyTree, equals, filterByIndirectChanges, filterByModifiedFiles, filterByModifiedLines, filterTreeByIndirectChanges, filterTreeByModifiedFiles, filterTreeByModifiedLines, find, findByHashCode, findClass, findFile, findMethod, findPackage, getAll, getAllFileNodes, getAllMethodNodes, getChildren, getFiles, getMetric, getMetrics, getName, getParasoftToolName, getParent, getParentName, getSourceFolders, getTypedValue, getValue, getValueMetrics, getValues, hasChildren, hashCode, hasModifiedLines, hasParent, isEmpty, isRoot, matches, matches, merge, merge, removeChild, replaceValue, setParasoftToolName, toString
-
Constructor Details
-
ClassNode
Creates a newClassNode
with the given name.- Parameters:
name
- the name of the class
-
-
Method Details
-
copy
Description copied from class:Node
Creates a copy of this instance that has no children and no parent yet. Node properties from the parent classNode
must not be copied. All other immutable properties need to be copied one by one. -
createMethodNode
Create a new method node with the given method name and signature and add it to the list of children.- Parameters:
methodName
- the method namesignature
- the signature of the method- Returns:
- the created and linked package node
-