Package aQute.libg.reporter
Class ReporterMessages.WARNINGImpl
java.lang.Object
aQute.libg.reporter.ReporterMessages.WARNINGImpl
- All Implemented Interfaces:
Messages.WARNING
,Reporter.SetLocation
- Direct Known Subclasses:
ReporterMessages.ERRORImpl
- Enclosing class:
- ReporterMessages
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the context in the header.Pass a DTO containing detailed information about the error.Set the file locationSet the header/section location.length
(int length) line
(int n) Set the line number.location()
Set the method where the error is reported.Set a reference for the error (url or so)
-
Field Details
-
loc
-
-
Constructor Details
-
WARNINGImpl
-
-
Method Details
-
file
Description copied from interface:Reporter.SetLocation
Set the file location- Specified by:
file
in interfaceReporter.SetLocation
-
header
Description copied from interface:Reporter.SetLocation
Set the header/section location. This is normally the header in a manifest or properties file.- Specified by:
header
in interfaceReporter.SetLocation
-
context
Description copied from interface:Reporter.SetLocation
Set the context in the header.- Specified by:
context
in interfaceReporter.SetLocation
-
method
Description copied from interface:Reporter.SetLocation
Set the method where the error is reported.- Specified by:
method
in interfaceReporter.SetLocation
-
line
Description copied from interface:Reporter.SetLocation
Set the line number. Line 0 is the top line.- Specified by:
line
in interfaceReporter.SetLocation
-
reference
Description copied from interface:Reporter.SetLocation
Set a reference for the error (url or so)- Specified by:
reference
in interfaceReporter.SetLocation
-
details
Description copied from interface:Reporter.SetLocation
Pass a DTO containing detailed information about the error. This can be recognised by other tools (e.g. bndtools) and used for further error reporting/fixing.- Specified by:
details
in interfaceReporter.SetLocation
-
location
- Specified by:
location
in interfaceReporter.SetLocation
-
length
- Specified by:
length
in interfaceReporter.SetLocation
-