public static final class AnalysisContext.Builder extends Object
Modifier and Type | Method and Description |
---|---|
AnalysisContext |
build() |
AnalysisContext.Builder |
mergeConfiguration(org.jboss.dmr.ModelNode config)
Tries to merge the provided configuration into the already existing one.
|
AnalysisContext.Builder |
mergeConfigurationFromJSON(String json) |
AnalysisContext.Builder |
mergeConfigurationFromJSONStream(InputStream jsonStream) |
AnalysisContext.Builder |
withConfiguration(org.jboss.dmr.ModelNode data) |
AnalysisContext.Builder |
withConfigurationFromJSON(String json) |
AnalysisContext.Builder |
withConfigurationFromJSONStream(InputStream jsonStream) |
AnalysisContext.Builder |
withData(Map<String,Object> data) |
AnalysisContext.Builder |
withData(String key,
Object value) |
AnalysisContext.Builder |
withLocale(Locale locale) |
AnalysisContext.Builder |
withNewAPI(API api) |
AnalysisContext.Builder |
withOldAPI(API api) |
public AnalysisContext.Builder withLocale(Locale locale)
public AnalysisContext.Builder withOldAPI(API api)
public AnalysisContext.Builder withNewAPI(API api)
public AnalysisContext.Builder withConfiguration(org.jboss.dmr.ModelNode data)
public AnalysisContext.Builder withConfigurationFromJSON(String json)
public AnalysisContext.Builder withConfigurationFromJSONStream(InputStream jsonStream) throws IOException
IOException
public AnalysisContext.Builder mergeConfiguration(org.jboss.dmr.ModelNode config)
See the AnalysisContext
documentation for detailed explanation of the merging logic.
config
- the configuration to mergepublic AnalysisContext.Builder mergeConfigurationFromJSON(String json)
public AnalysisContext.Builder mergeConfigurationFromJSONStream(InputStream jsonStream) throws IOException
IOException
public AnalysisContext.Builder withData(Map<String,Object> data)
public AnalysisContext.Builder withData(String key, Object value)
public AnalysisContext build()
Copyright © 2014-2020 Lukas Krejci. All Rights Reserved.