Interface Report

All Known Subinterfaces:
Reporter
All Known Implementing Classes:
AbstractConsoleApp, Analyzer, BaseTask, BasicAuthentication, BearerAuthentication, bnd, BndAuthentication, BndTask, BuildContext, Builder, CommunicationCommands, ConnectionSettings, DefaultURLConnectionHandler, DeployTask, EclipseCommand, EclipseTask, Env, ExpandPropertiesTask, HeaderReader, HttpsVerification, IndexCommand, JarPrinter, JUnitFramework.BundleBuilder, JUnitLauncher, LogToReporterAdapter, Makefile, MavenCommand, MavenDeployCmd, PackageTask, PomParser, PrepareTask, Processor, Profiles, Project, ProjectBuilder, ProjectBuildOrderTask, ProjectLauncher, ProjectTask, ReleaseTask, ReplacerAdapter, ReporterAdapter, Run, RunBundlesTask, RunconfigToDistributionTask, ServiceComponent.ComponentMaker, Signer, Slf4jReporter, TestTask, Verifier, Workspace, WrapTask, XMLResourceParser

public interface Report
A base interface to represent the state of a work in progress.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Defines a record for the location of an error/warning
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the errors.
    Return the errors for the given error or warning.
    Return the warnings.
    boolean
    Check if this report has any relevant errors that should make the run associated with this report invalid.
  • Method Details

    • 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 relevant errors that should make the run associated with this report invalid. I.e. if this returns false then the run should be disregarded.
      Returns:
      true if this run should be disregarded due to errors