public abstract class SimpleConfigurable extends Object implements AutoCloseable, Configurable
| Constructor and Description |
|---|
SimpleConfigurable() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
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, waitgetExtensionIdpublic void close()
throws Exception
close in interface AutoCloseableException@Nullable public Reader getJSONSchema()
ConfigurableConfigurable.getExtensionId() returns a non-null value.getJSONSchema in interface Configurablepublic void initialize(@Nonnull AnalysisContext analysisContext)
ConfigurableThe 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 ConfigurableanalysisContext - the context of the upcoming analysisCopyright © 2014-2020 Lukas Krejci. All Rights Reserved.