Class ClassNode
- java.lang.Object
-
- com.parasoft.findings.jenkins.coverage.model.Node
-
- com.parasoft.findings.jenkins.coverage.model.ClassNode
-
- All Implemented Interfaces:
Serializable
public final class ClassNode extends Node
ANode
for a specific class.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassNode
copy()
Creates a copy of this instance that has no children and no parent yet.MethodNode
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
-
-
-
-
Method Detail
-
copy
public ClassNode 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
public MethodNode 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.- Parameters:
methodName
- the method namesignature
- the signature of the method- Returns:
- the created and linked package node
-
-