public static class StackTraceElement.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StackTraceElement |
build() |
StackTraceElement.Builder |
className(String className)
Name of the class containing the execution point.
|
StackTraceElement.Builder |
copy(StackTraceElement model) |
StackTraceElement.Builder |
fileName(String fileName)
Name of the source file containing the execution point.
|
StackTraceElement.Builder |
lineNumber(Integer lineNumber)
Line number of the source line containing the execution point.
|
StackTraceElement.Builder |
methodName(String methodName)
Name of the method containing the execution point.
|
StackTraceElement.Builder |
weightage(Float weightage)
The weight distribution that denotes the percentage occurrence of a method in the
captured snapshots.
|
public StackTraceElement.Builder methodName(String methodName)
Name of the method containing the execution point.
methodName
- the value to setpublic StackTraceElement.Builder fileName(String fileName)
Name of the source file containing the execution point.
fileName
- the value to setpublic StackTraceElement.Builder lineNumber(Integer lineNumber)
Line number of the source line containing the execution point.
lineNumber
- the value to setpublic StackTraceElement.Builder className(String className)
Name of the class containing the execution point.
className
- the value to setpublic StackTraceElement.Builder weightage(Float weightage)
The weight distribution that denotes the percentage occurrence of a method in the captured snapshots.
weightage
- the value to setpublic StackTraceElement build()
public StackTraceElement.Builder copy(StackTraceElement model)
Copyright © 2016–2024. All rights reserved.