public class ParameterTypeUnwrapperContributor extends Object implements ParameterDeclarerContributor
ParameterDeclarerContributor implementation which given a ExtensionParameter of this#classToUnwrap
type, replaces the parameter type with the generic type of it and adds a the given this#modelProperty
to communicate the change.| Constructor and Description |
|---|
ParameterTypeUnwrapperContributor(org.mule.metadata.api.ClassTypeLoader typeLoader,
Class classToUnwrap,
org.mule.runtime.api.meta.model.ModelProperty modelProperty) |
| 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 ParameterTypeUnwrapperContributor(org.mule.metadata.api.ClassTypeLoader typeLoader,
Class classToUnwrap,
org.mule.runtime.api.meta.model.ModelProperty modelProperty)
public void contribute(ExtensionParameter parameter, org.mule.runtime.api.meta.model.declaration.fluent.ParameterDeclarer declarer, ParameterDeclarationContext declarationContext)
ExtensionParameter 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–2017 MuleSoft, Inc.. All rights reserved.