public class FunctionParameterTypeContributor extends Object implements ParameterDeclarerContributor
ParameterDeclarerContributor implementation which given a ExtensionParameter of
Function type changes the declared type of the ParameterDeclarer from a
Function to the type of the generic.
Also adds a FunctionParameterTypeModelProperty which indicates that the Java parameters if of
Function typeParameterResolver| Constructor and Description |
|---|
FunctionParameterTypeContributor(org.mule.metadata.api.ClassTypeLoader typeLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
contribute(ExtensionParameter parameter,
org.mule.runtime.api.meta.model.declaration.fluent.ParameterDeclarer declarer,
ParameterDeclarationContext declarationContext)
Given an
ExtensionParameter describing the parameter it self and a ParameterDeclarationContext
gives the chance to contribute to the ParameterDeclarer |
public FunctionParameterTypeContributor(org.mule.metadata.api.ClassTypeLoader typeLoader)
public void contribute(ExtensionParameter parameter, org.mule.runtime.api.meta.model.declaration.fluent.ParameterDeclarer declarer, ParameterDeclarationContext declarationContext)
ParameterDeclarerContributorExtensionParameter describing the parameter it self and a ParameterDeclarationContext
gives the chance to contribute to the ParameterDeclarercontribute in interface ParameterDeclarerContributorparameter - ExtensionParameter with introspected information of the Java parameterdeclarer - declarer to be enricheddeclarationContext - context of the parameter to be declaredCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.