public interface Reporter extends AutoCloseable, Configurable
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 to Configurable.initialize(AnalysisContext)
. Do all your
resource acquisition in initialize, not during the construction of the object.
Modifier and Type | Method and Description |
---|---|
void |
report(Report report) |
close
getExtensionId, getJSONSchema, initialize
void report(Report report)
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.