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.SetLocationSet the file location- Specified by:
filein interfaceReporter.SetLocation
-
header
Description copied from interface:Reporter.SetLocationSet the header/section location. This is normally the header in a manifest or properties file.- Specified by:
headerin interfaceReporter.SetLocation
-
context
Description copied from interface:Reporter.SetLocationSet the context in the header.- Specified by:
contextin interfaceReporter.SetLocation
-
method
Description copied from interface:Reporter.SetLocationSet the method where the error is reported.- Specified by:
methodin interfaceReporter.SetLocation
-
line
Description copied from interface:Reporter.SetLocationSet the line number. Line 0 is the top line.- Specified by:
linein interfaceReporter.SetLocation
-
reference
Description copied from interface:Reporter.SetLocationSet a reference for the error (url or so)- Specified by:
referencein interfaceReporter.SetLocation
-
details
Description copied from interface:Reporter.SetLocationPass 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:
detailsin interfaceReporter.SetLocation
-
location
- Specified by:
locationin interfaceReporter.SetLocation
-
length
- Specified by:
lengthin interfaceReporter.SetLocation
-