Package aQute.service.reporter
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
,ProjectBuilder.ArtifactInfoImpl
,ProjectBuilder.BuildInfoImpl
,ProjectBuildOrderTask
,ProjectLauncher
,ProjectTask
,ReleaseTask
,ReplacerAdapter
,ReporterAdapter
,Run
,RunBundlesTask
,RunconfigToDistributionTask
,ServiceComponent.ComponentMaker
,Signer
,Slf4jReporter
,TestTask
,ToolManager
,Verifier
,Workspace
,WrapTask
,XmlRepoDiffCommand
,XMLResourceParser
public interface Report
A base interface to represent the state of a work in progress.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Defines a record for the location of an error/warning -
Method Summary
Modifier and TypeMethodDescriptionReturn the errors.getLocation
(String msg) Return the errors for the given error or warning.Return the warnings.boolean
isOk()
Check if this report has any relevant errors that should make the run associated with this report invalid.
-
Method Details
-
getWarnings
Return the warnings. This list must not be changed and may be immutable.- Returns:
- the warnings
-
getErrors
Return the errors. This list must not be changed and may be immutable.- Returns:
- the errors
-
getLocation
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
-