static class ReporterMessages.WARNINGImpl extends java.lang.Object implements Messages.WARNING
| Modifier and Type | Field and Description |
|---|---|
(package private) Reporter.SetLocation |
loc |
| Constructor and Description |
|---|
WARNINGImpl(Reporter.SetLocation loc) |
| 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 n)
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)
|
Reporter.SetLocation loc
public WARNINGImpl(Reporter.SetLocation loc)
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 n)
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