public class Configuration extends Object implements org.mule.runtime.api.lifecycle.Initialisable, ValidationConfig, ConsoleConfig
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
protected com.google.common.cache.LoadingCache<String,URIPattern> |
uriPatternCache |
protected com.google.common.cache.LoadingCache<String,URIResolver> |
uriResolverCache |
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApi() |
String |
getApiServer()
Deprecated.
|
org.mule.runtime.core.api.el.ExpressionManager |
getExpressionManager() |
Optional<RouterServiceAdapter> |
getExtension() |
FlowFinder |
getFlowFinder() |
FlowMappings |
getFlowMappings() |
String |
getHttpStatusVarName() |
ApiKitJsonSchema |
getJsonSchema(String schemaPath) |
com.google.common.cache.LoadingCache<String,com.github.fge.jsonschema.main.JsonSchema> |
getJsonSchemaCache() |
String |
getName() |
String |
getOutboundHeadersMapName() |
org.mule.raml.interfaces.ParserType |
getParser() |
String |
getRaml() |
RamlHandler |
getRamlHandler() |
com.google.common.cache.LoadingCache<String,URIPattern> |
getUriPatternCache() |
com.google.common.cache.LoadingCache<String,URIResolver> |
getUriResolverCache() |
Schema |
getXmlSchema(String schemaPath) |
com.google.common.cache.LoadingCache<String,Schema> |
getXmlSchemaCache() |
void |
initialise() |
boolean |
isDisableValidations() |
boolean |
isHeadersStrictValidation() |
boolean |
isKeepApiBaseUri() |
boolean |
isKeepRamlBaseUri()
Deprecated.
|
boolean |
isParserV2() |
boolean |
isQueryParamsStrictValidation() |
void |
setApi(String api) |
void |
setDisableValidations(boolean disableValidations) |
void |
setFlowMappings(FlowMappings flowMappings) |
void |
setHeadersStrictValidation(boolean headersStrictValidation) |
void |
setHttpStatusVarName(String httpStatusVarName) |
void |
setKeepApiBaseUri(boolean keepApiBaseUri) |
void |
setKeepRamlBaseUri(boolean keepRamlBaseUri)
Deprecated.
|
void |
setName(String name) |
void |
setOutboundHeadersMapName(String outboundHeadersMapName) |
void |
setParser(org.mule.raml.interfaces.ParserType parserType) |
void |
setQueryParamsStrictValidation(boolean queryParamsStrictValidation) |
void |
setRaml(String raml) |
void |
setRamlHandler(RamlHandler ramlHandler) |
protected static final org.slf4j.Logger logger
protected com.google.common.cache.LoadingCache<String,URIResolver> uriResolverCache
protected com.google.common.cache.LoadingCache<String,URIPattern> uriPatternCache
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationException@Deprecated public String getApiServer()
public String getName()
public void setName(String name)
public String getRaml()
public void setRaml(String raml)
public String getApi()
public void setApi(String api)
public boolean isDisableValidations()
isDisableValidations in interface ValidationConfigpublic void setDisableValidations(boolean disableValidations)
public org.mule.raml.interfaces.ParserType getParser()
getParser in interface ConsoleConfigpublic void setParser(org.mule.raml.interfaces.ParserType parserType)
public boolean isQueryParamsStrictValidation()
isQueryParamsStrictValidation in interface ValidationConfigpublic void setQueryParamsStrictValidation(boolean queryParamsStrictValidation)
public boolean isHeadersStrictValidation()
isHeadersStrictValidation in interface ValidationConfigpublic void setHeadersStrictValidation(boolean headersStrictValidation)
@Deprecated public boolean isKeepRamlBaseUri()
public boolean isKeepApiBaseUri()
@Deprecated public void setKeepRamlBaseUri(boolean keepRamlBaseUri)
public void setKeepApiBaseUri(boolean keepApiBaseUri)
public FlowMappings getFlowMappings()
public void setFlowMappings(FlowMappings flowMappings)
public String getOutboundHeadersMapName()
public void setOutboundHeadersMapName(String outboundHeadersMapName)
public String getHttpStatusVarName()
public void setHttpStatusVarName(String httpStatusVarName)
public FlowFinder getFlowFinder()
public com.google.common.cache.LoadingCache<String,URIPattern> getUriPatternCache()
public com.google.common.cache.LoadingCache<String,URIResolver> getUriResolverCache()
public com.google.common.cache.LoadingCache<String,com.github.fge.jsonschema.main.JsonSchema> getJsonSchemaCache()
public void setRamlHandler(RamlHandler ramlHandler)
public RamlHandler getRamlHandler()
getRamlHandler in interface ConsoleConfigpublic boolean isParserV2()
isParserV2 in interface ValidationConfigpublic ApiKitJsonSchema getJsonSchema(String schemaPath) throws ExecutionException
getJsonSchema in interface ValidationConfigExecutionExceptionpublic Schema getXmlSchema(String schemaPath) throws ExecutionException
getXmlSchema in interface ValidationConfigExecutionExceptionpublic org.mule.runtime.core.api.el.ExpressionManager getExpressionManager()
getExpressionManager in interface ValidationConfigpublic Optional<RouterServiceAdapter> getExtension()
Copyright © 2019. All rights reserved.