public abstract class BaseConfigurable extends Object implements Configurable
Constructor and Description |
---|
BaseConfigurable() |
Modifier and Type | Method and Description |
---|---|
Reader |
getJSONSchema()
This method must not return null if
Configurable.getExtensionId() returns a non-null value. |
void |
initialize(AnalysisContext analysisContext)
The instance can configure itself for the upcoming analysis from the supplied analysis context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtensionId
@Nullable public Reader getJSONSchema()
Configurable
Configurable.getExtensionId()
returns a non-null value.getJSONSchema
in interface Configurable
public void initialize(@Nonnull AnalysisContext analysisContext)
Configurable
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.
initialize
in interface Configurable
analysisContext
- the context of the upcoming analysisCopyright © 2014-2021 Lukas Krejci. All Rights Reserved.