public class NoOpValueProviderCache extends Object implements ValueProviderCache
ValueProviderCache that does not cache anything| Constructor and Description |
|---|
NoOpValueProviderCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(org.mule.runtime.ast.api.ComponentAst componentAst,
List<String> parameterNames)
Dispose the entry that is related to the received
ComponentAst and all the given parameterNames. |
org.mule.runtime.api.value.ValueResult |
getValues(org.mule.runtime.ast.api.ComponentAst componentAst,
String parameterName,
Callable<org.mule.runtime.api.value.ValueResult> callable)
Gets the posible values for the given parameter belonging to the
ComponentAst, if not present the Callable
should be called and result stored in order to resolve the values. |
public org.mule.runtime.api.value.ValueResult getValues(org.mule.runtime.ast.api.ComponentAst componentAst,
String parameterName,
Callable<org.mule.runtime.api.value.ValueResult> callable)
ValueProviderCacheComponentAst, if not present the Callable
should be called and result stored in order to resolve the values.getValues in interface ValueProviderCachecomponentAst - parameter container componentparameterName - name of the parameter to resolves values fromcallable - resolution logic if values not presentValueResult with the requested informationpublic void dispose(org.mule.runtime.ast.api.ComponentAst componentAst,
List<String> parameterNames)
ValueProviderCacheComponentAst and all the given parameterNames. If no parameterName
is received, then all values related to this ComponentAst will be disposeddispose in interface ValueProviderCachecomponentAst - the element to hash in order to know what to removeparameterNames - the list of parameters from where to remove the value providers. If empty, all entries from all value
providers from this component will be deleted.Copyright © 2024 MuleSoft, Inc.. All rights reserved.