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.SetLocation
file
in interface Reporter.SetLocation
public Reporter.SetLocation header(java.lang.String header)
Reporter.SetLocation
header
in interface Reporter.SetLocation
public Reporter.SetLocation context(java.lang.String context)
Reporter.SetLocation
context
in interface Reporter.SetLocation
public Reporter.SetLocation method(java.lang.String methodName)
Reporter.SetLocation
method
in interface Reporter.SetLocation
public Reporter.SetLocation line(int n)
Reporter.SetLocation
line
in interface Reporter.SetLocation
public Reporter.SetLocation reference(java.lang.String reference)
Reporter.SetLocation
reference
in interface Reporter.SetLocation
public Reporter.SetLocation details(java.lang.Object details)
Reporter.SetLocation
details
in interface Reporter.SetLocation
public Report.Location location()
location
in interface Reporter.SetLocation
public Reporter.SetLocation length(int length)
length
in interface Reporter.SetLocation