Enclosing class:
StackTraceItem


public static class StackTraceItem.Builder
extends java.lang.Object

Constructor Summary

Constructors
Constructor and Description
Builder() 

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
StackTraceItembuild()
Creates an instance of StackTraceItem.
StackTraceItem.BuilderwithClassName(java.lang.String value)
Sets class name.
StackTraceItem.BuilderwithColumn(java.lang.Integer value)
Sets column.
StackTraceItem.BuilderwithFileName(java.lang.String value)
Sets file name.
StackTraceItem.BuilderwithLine(java.lang.Integer value)
Sets line.
StackTraceItem.BuilderwithMethodName(java.lang.String value)
Sets method name.

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Builder

public Builder()

Method Detail

withClassName

@NonNull
public StackTraceItem.Builder withClassName(@Nullable
                                                     java.lang.String value)
Sets class name.
Parameters:
value - name of the class/interface/symbol (depending on the plugin you are using) where the error occurred.
Returns:
the same StackTraceItem.Builder object.

withFileName

@NonNull
public StackTraceItem.Builder withFileName(@Nullable
                                                    java.lang.String value)
Sets file name.
Parameters:
value - name of the file where the error occurred.
Returns:
the same StackTraceItem.Builder object.

withLine

@NonNull
public StackTraceItem.Builder withLine(@Nullable
                                                java.lang.Integer value)
Sets line.
Parameters:
value - line number in which the error occurred.
Returns:
the same StackTraceItem.Builder object.

withColumn

@NonNull
public StackTraceItem.Builder withColumn(@Nullable
                                                  java.lang.Integer value)
Sets column.
Parameters:
value - column in which the error occurred.
Returns:
the same StackTraceItem.Builder object.

withMethodName

@NonNull
public StackTraceItem.Builder withMethodName(@Nullable
                                                      java.lang.String value)
Sets method name.
Parameters:
value - name of the method/function (depending on the plugin you are using) where the error occurred.
Returns:
the same StackTraceItem.Builder object.

build

@NonNull
public StackTraceItem build()
Creates an instance of StackTraceItem.
Returns:
StackTraceItem object.