Class CpsThreadDump.ThreadInfo
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.CpsThreadDump.ThreadInfo
-
- Enclosing class:
- CpsThreadDump
public static final class CpsThreadDump.ThreadInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description ThreadInfo(Throwable t)
Create a fakeCpsThreadDump.ThreadInfo
from aThrowable
that copies its stack trace history.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHeadline()
List<StackTraceElement>
getStackTrace()
Can be empty but never be null.void
print(PrintWriter w)
String
toString()
-
-
-
Constructor Detail
-
ThreadInfo
public ThreadInfo(Throwable t)
Create a fakeCpsThreadDump.ThreadInfo
from aThrowable
that copies its stack trace history.
-
-
Method Detail
-
getStackTrace
public List<StackTraceElement> getStackTrace()
Can be empty but never be null. First element is the top of the stack.
-
getHeadline
public String getHeadline()
-
print
public void print(PrintWriter w)
-
-