aQute.service.reporter
Interface Reporter.SetLocation

All Known Subinterfaces:
Messages.ERROR, Messages.WARNING
Enclosing interface:
Reporter

public static interface Reporter.SetLocation

Fluid interface to set location data


Method Summary
 Reporter.SetLocation context(String context)
          Set the context in the header.
 Reporter.SetLocation file(String file)
          Set the file location
 Reporter.SetLocation header(String header)
          Set the header/section location.
 Reporter.SetLocation line(int n)
          Set the line number.
 Reporter.SetLocation method(String methodName)
          Set the method where the error is reported.
 Reporter.SetLocation reference(String reference)
          Set a reference for the error (url or so)
 

Method Detail

file

Reporter.SetLocation file(String file)
Set the file location


header

Reporter.SetLocation header(String header)
Set the header/section location. This is normally the header in a manifest or properties file.


context

Reporter.SetLocation context(String context)
Set the context in the header.

Parameters:
context -
Returns:

method

Reporter.SetLocation method(String methodName)
Set the method where the error is reported.

Parameters:
context -
Returns:

line

Reporter.SetLocation line(int n)
Set the line number. Line 0 is the top line.


reference

Reporter.SetLocation reference(String reference)
Set a reference for the error (url or so)



Copyright © 2013 aQute SARL. All Rights Reserved.