public final class ValueProviderFactoryModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
ModelProperty which communicates the ValueProvider of a parameter or parameter model which contains a
ValueProviderModel indicating that provides a Set of values| Modifier and Type | Class and Description |
|---|---|
static class |
ValueProviderFactoryModelProperty.ValueProviderFactoryModelPropertyBuilder
Builder to easily a
ValueProviderFactoryModelProperty |
| Modifier and Type | Method and Description |
|---|---|
static ValueProviderFactoryModelProperty.ValueProviderFactoryModelPropertyBuilder |
builder(Class valuesProvider)
Creates a new builder to be able to easily build a
ValueProviderFactoryModelProperty |
ValueProviderFactory |
createFactory(ParameterValueResolver parameterValueResolver,
Supplier<Object> connectionSupplier,
Supplier<Object> configurationSupplier,
ReflectionCache reflectionCache,
MuleContext muleContext,
org.mule.runtime.api.meta.model.parameter.ParameterizedModel parameterizedModel) |
List<InjectableParameterInfo> |
getInjectableParameters() |
String |
getName() |
List<String> |
getRequiredParameters() |
Class<?> |
getValueProvider() |
boolean |
isPublic() |
boolean |
usesConfig() |
boolean |
usesConnection() |
public static ValueProviderFactoryModelProperty.ValueProviderFactoryModelPropertyBuilder builder(Class valuesProvider)
ValueProviderFactoryModelPropertyvaluesProvider - the Class of a ValueProvider implementationValueProviderFactoryModelProperty.ValueProviderFactoryModelPropertyBuilderpublic String getName()
getName in interface org.mule.runtime.api.meta.model.ModelPropertygetName in interface org.mule.runtime.api.meta.NamedObjectpublic boolean isPublic()
isPublic in interface org.mule.runtime.api.meta.model.ModelPropertypublic Class<?> getValueProvider()
ValueProvider implementationpublic List<String> getRequiredParameters()
public List<InjectableParameterInfo> getInjectableParameters()
List of parameters that requires to be injected into the ValueProviderpublic boolean usesConnection()
ValueProvider requires a connection to resolve the valuespublic boolean usesConfig()
ValueProvider requires a configuration to resolve the valuespublic ValueProviderFactory createFactory(ParameterValueResolver parameterValueResolver, Supplier<Object> connectionSupplier, Supplier<Object> configurationSupplier, ReflectionCache reflectionCache, MuleContext muleContext, org.mule.runtime.api.meta.model.parameter.ParameterizedModel parameterizedModel)
Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.