public interface Configurable
Modifier and Type | Method and Description |
---|---|
String |
getExtensionId()
The identifier of this configurable extension in the configuration file.
|
Reader |
getJSONSchema()
This method must not return null if
getExtensionId() returns a non-null value. |
void |
initialize(AnalysisContext analysisContext)
The instance can configure itself for the upcoming analysis from the supplied analysis context.
|
String getExtensionId()
@Nullable Reader getJSONSchema()
getExtensionId()
returns a non-null value.void initialize(@Nonnull AnalysisContext analysisContext)
The configuration contained in the supplied analysis context is solely the one provided for this configurable instance and conforms to its schema. Note that this method can be called multiple times, each time for a different analysis run.
analysisContext
- the context of the upcoming analysisCopyright © 2014-2020 Lukas Krejci. All Rights Reserved.