public final class SampleDataProviderFactoryModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
ModelProperty which communicates the SampleDataProvider of a HasOutputModel model which
contains a SampleDataProviderModel| Modifier and Type | Class and Description |
|---|---|
static class |
SampleDataProviderFactoryModelProperty.SampleDataProviderFactoryModelPropertyBuilder
Builder to easily a
SampleDataProviderFactoryModelProperty |
| Modifier and Type | Method and Description |
|---|---|
static SampleDataProviderFactoryModelProperty.SampleDataProviderFactoryModelPropertyBuilder |
builder(Class<? extends org.mule.sdk.api.data.sample.SampleDataProvider> sampleDataProvider)
Creates a new builder to be able to easily build a
SampleDataProviderFactoryModelProperty |
SampleDataProviderFactory |
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() |
<T,A> Class<? extends org.mule.sdk.api.data.sample.SampleDataProvider<T,A>> |
getSampleDataProviderClass() |
boolean |
isPublic() |
boolean |
usesConfig() |
boolean |
usesConnection() |
public static SampleDataProviderFactoryModelProperty.SampleDataProviderFactoryModelPropertyBuilder builder(Class<? extends org.mule.sdk.api.data.sample.SampleDataProvider> sampleDataProvider)
SampleDataProviderFactoryModelPropertysampleDataProvider - the Class of a SampleDataProvider implementationSampleDataProviderFactoryModelProperty.SampleDataProviderFactoryModelPropertyBuilderpublic 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 <T,A> Class<? extends org.mule.sdk.api.data.sample.SampleDataProvider<T,A>> getSampleDataProviderClass()
SampleDataProvider implementationpublic List<String> getRequiredParameters()
public List<InjectableParameterInfo> getInjectableParameters()
List of parameters that requires to be injected into the SampleDataProviderpublic boolean usesConnection()
SampleDataProvider requires a connection to resolve the datapublic boolean usesConfig()
SampleDataProvider requires a configuration to resolve the datapublic SampleDataProviderFactory createFactory(ParameterValueResolver parameterValueResolver, Supplier<Object> connectionSupplier, Supplier<Object> configurationSupplier, ReflectionCache reflectionCache, MuleContext muleContext, org.mule.runtime.api.meta.model.parameter.ParameterizedModel parameterizedModel)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.