public final class SourceConfigurer extends Object
Source that has fields annotated with Parameter or
ParameterGroupDescriptor| Constructor and Description |
|---|
SourceConfigurer(org.mule.runtime.api.meta.model.source.SourceModel model,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
ResolverSet resolverSet,
ReflectionCache reflectionCache,
org.mule.runtime.api.component.ConfigurationProperties properties,
MuleContext muleContext)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.source.Source |
configure(org.mule.runtime.extension.api.runtime.source.Source source,
Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> config)
Performs the configuration of the given
source and returns the result |
public SourceConfigurer(org.mule.runtime.api.meta.model.source.SourceModel model,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
ResolverSet resolverSet,
ReflectionCache reflectionCache,
org.mule.runtime.api.component.ConfigurationProperties properties,
MuleContext muleContext)
model - the SourceModel which describes the instances that the configure(Source, Optional) method will
acceptresolverSet - the ResolverSet used to resolve the parametersreflectionCache - the cache for expensive reflection lookupsproperties - deployment configuration propertiesmuleContext - the current MuleContextpublic org.mule.runtime.extension.api.runtime.source.Source configure(org.mule.runtime.extension.api.runtime.source.Source source,
Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> config)
throws org.mule.runtime.api.exception.MuleException
source and returns the resultsource - a Sourceconfig - the config instance associated to this source object.org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.