public class StackedTypesModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
ModelProperty implementation which communicates which are the true types of a certain parameter, due that these ones
are erased from the ParameterModel.
The model property through getValueResolverFactory() will communicate the Stack of
erased types for the parameter.| Modifier and Type | Class and Description |
|---|---|
static class |
StackedTypesModelProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StackedTypesModelProperty.Builder |
builder() |
String |
getName() |
static Optional<StackedTypesModelProperty> |
getStackedTypesModelProperty(Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
|
StackableTypesValueResolverFactory |
getValueResolverFactory()
This gives the
Stack of StackableType, which represents the erased types for a parameter. |
boolean |
isPublic() |
public static StackedTypesModelProperty.Builder builder()
StackedTypesModelProperty StackedTypesModelProperty.Builderpublic 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 StackableTypesValueResolverFactory getValueResolverFactory()
Stack of StackableType, which represents the erased types for a parameter. For example, if a
parameter was originally: ParameterResolver<TypedValue<String>>, this Stack will contain the following
content TypedValue -> ParameterResolverStack of wrapper types for the enriched parameterpublic static Optional<StackedTypesModelProperty> getStackedTypesModelProperty(Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
modelProperties - Model properties to introspectOptional StackedTypesModelPropertyCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.