aQute.service.reporter
Interface Report

All Known Subinterfaces:
Reporter
All Known Implementing Classes:
Analyzer, Builder, HeaderReader, MavenCommand, MavenDeployCmd, PomParser, Processor, Project, ProjectBuilder, ReplacerAdapter, ReporterAdapter, Signer, Verifier, Workspace

public interface Report

A base interface to represent the state of a work in progress.


Nested Class Summary
static class Report.Location
          Defines a record for the location of an error/warning
 
Method Summary
 List<String> getErrors()
          Return the errors.
 Report.Location getLocation(String msg)
          Return the errors for the given error or warning.
 List<String> getWarnings()
          Return the warnings.
 boolean isOk()
          Check if this report has any errors.
 

Method Detail

getWarnings

List<String> getWarnings()
Return the warnings. This list must not be changed and may be immutable.

Returns:
the warnings

getErrors

List<String> getErrors()
Return the errors. This list must not be changed and may be immutable.

Returns:
the errors

getLocation

Report.Location getLocation(String msg)
Return the errors for the given error or warning. Can return null.

Parameters:
msg - The message
Returns:
null or the location of the message

isOk

boolean isOk()
Check if this report has any errors.

Returns:
true if errors is empty


Copyright © 2013 aQute SARL. All Rights Reserved.