Package org.revapi.base
Class CollectingReporter
- java.lang.Object
-
- org.revapi.base.BaseConfigurable
-
- org.revapi.base.BaseReporter
-
- org.revapi.base.CollectingReporter
-
- All Implemented Interfaces:
AutoCloseable
,Configurable
,Reporter
public class CollectingReporter extends BaseReporter
This is a simple helper class that can be used by the users to collect all the reports from Revapi. The extension ID istest.collecting-reporter
.
-
-
Constructor Summary
Constructors Constructor Description CollectingReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExtensionId()
The identifier of this configurable extension in the configuration file.List<Report>
getReports()
void
report(Report report)
-
Methods inherited from class org.revapi.base.BaseReporter
close
-
Methods inherited from class org.revapi.base.BaseConfigurable
getJSONSchema, initialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.revapi.configuration.Configurable
getJSONSchema, initialize
-
-
-
-
Method Detail
-
getExtensionId
public String getExtensionId()
Description copied from interface:Configurable
The identifier of this configurable extension in the configuration file. This should be globally unique, but human readable, so a package name or something similar would be a good candidate. Core revapi extensions have the extension ids always starting with "revapi.".- Returns:
- the unique identifier of this configurable extension
-
-