public static final class AnalysisContext.Builder extends Object
public AnalysisContext.Builder withLocale(Locale locale)
public AnalysisContext.Builder withOldAPI(API api)
public AnalysisContext.Builder withNewAPI(API api)
@Deprecated public AnalysisContext.Builder withConfiguration(org.jboss.dmr.ModelNode data)
withConfiguration(JsonNode)
public AnalysisContext.Builder withConfiguration(com.fasterxml.jackson.databind.JsonNode data)
public AnalysisContext.Builder withConfigurationFromJSON(String json)
public AnalysisContext.Builder withConfigurationFromJSONStream(InputStream jsonStream) throws IOException
IOException
@Deprecated 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 mergeConfiguration(com.fasterxml.jackson.databind.JsonNode 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-2021 Lukas Krejci. All Rights Reserved.