static class ReporterAdapter.LocationImpl extends Report.Location implements Reporter.SetLocation
context, details, file, header, length, line, message, methodName, reference| Constructor and Description |
|---|
LocationImpl(java.lang.String e) |
| Modifier and Type | Method and Description |
|---|---|
Reporter.SetLocation |
context(java.lang.String context)
Set the context in the header.
|
Reporter.SetLocation |
details(java.lang.Object details)
Pass a DTO containing detailed information about the error.
|
Reporter.SetLocation |
file(java.lang.String file)
Set the file location
|
Reporter.SetLocation |
header(java.lang.String header)
Set the header/section location.
|
Reporter.SetLocation |
length(int length) |
Reporter.SetLocation |
line(int line)
Set the line number.
|
Report.Location |
location() |
Reporter.SetLocation |
method(java.lang.String methodName)
Set the method where the error is reported.
|
Reporter.SetLocation |
reference(java.lang.String reference)
Set a reference for the error (url or so)
|
public Reporter.SetLocation file(java.lang.String file)
Reporter.SetLocationfile in interface Reporter.SetLocationpublic Reporter.SetLocation header(java.lang.String header)
Reporter.SetLocationheader in interface Reporter.SetLocationpublic Reporter.SetLocation context(java.lang.String context)
Reporter.SetLocationcontext in interface Reporter.SetLocationpublic Reporter.SetLocation method(java.lang.String methodName)
Reporter.SetLocationmethod in interface Reporter.SetLocationpublic Reporter.SetLocation line(int line)
Reporter.SetLocationline in interface Reporter.SetLocationpublic Reporter.SetLocation reference(java.lang.String reference)
Reporter.SetLocationreference in interface Reporter.SetLocationpublic Reporter.SetLocation details(java.lang.Object details)
Reporter.SetLocationdetails in interface Reporter.SetLocationpublic Report.Location location()
location in interface Reporter.SetLocationpublic Reporter.SetLocation length(int length)
length in interface Reporter.SetLocation