Package org.revapi
Interface Reporter
-
- All Superinterfaces:
AutoCloseable
,Configurable
- All Known Implementing Classes:
BaseReporter
,CollectingReporter
,SimpleReporter
public interface Reporter extends AutoCloseable, Configurable
A reporter is the final stage during the API change analysis. It somehow conveys the found difference reports to some kind of output.Importantly, reporters are
Configurable
and can use the locale defined in the analysis context of the configuration to produce the desired output.The
AutoCloseable.close()
is not called if there is no prior call toConfigurable.initialize(AnalysisContext)
. Do all your resource acquisition in initialize, not during the construction of the object.- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
report(Report report)
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface org.revapi.configuration.Configurable
getExtensionId, getJSONSchema, initialize
-
-
-
-
Method Detail
-
report
void report(Report report)
-
-