@NoExtend @NoInstantiate public class ValueProviderModel extends Object implements EnrichableModel
ParameterModel to communicate if one of these are capable to provide values.
The element with this model will considered as a one that provides values.
| Constructor and Description |
|---|
ValueProviderModel(List<ActingParameterModel> parameters,
boolean requiresConfiguration,
boolean requiresConnection,
boolean isOpen,
Integer partOrder,
String providerName,
String providerId)
Creates a new instance
|
ValueProviderModel(List<ActingParameterModel> parameters,
boolean requiresConfiguration,
boolean requiresConnection,
boolean isOpen,
Integer partOrder,
String providerName,
String providerId,
ModelProperty... modelProperties)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<String> |
getActingParameters()
Deprecated.
since 1.4.0, use
getParameters() instead. |
Set<ModelProperty> |
getModelProperties()
Returns all the model properties registered for this model
|
<T extends ModelProperty> |
getModelProperty(Class<T> propertyType)
Returns a registered model property of type
propertyType. |
List<ActingParameterModel> |
getParameters() |
Integer |
getPartOrder() |
String |
getProviderId() |
String |
getProviderName() |
int |
hashCode() |
boolean |
isOpen() |
boolean |
requiresConfiguration() |
boolean |
requiresConnection() |
public ValueProviderModel(List<ActingParameterModel> parameters, boolean requiresConfiguration, boolean requiresConnection, boolean isOpen, Integer partOrder, String providerName, String providerId)
parameters - the list of parameters that the Value Provider takes into account for its resolutionrequiresConfiguration - indicates if the configuration is required to resolve the valuesrequiresConnection - indicates if the connection is required to resolve the valuesisOpen - indicates if the calculated values should be considered as an open or closed setpartOrder - the position in the valueproviderName - the category of the associated value provider for this parameterproviderId - the id of the associated value provider for this parameterpublic ValueProviderModel(List<ActingParameterModel> parameters, boolean requiresConfiguration, boolean requiresConnection, boolean isOpen, Integer partOrder, String providerName, String providerId, ModelProperty... modelProperties)
parameters - the list of parameters that the Value Provider takes into account for its resolutionrequiresConfiguration - indicates if the configuration is required to resolve the valuesrequiresConnection - indicates if the connection is required to resolve the valuesisOpen - indicates if the calculated values should be considered as an open or closed setpartOrder - the position in the valueproviderName - the category of the associated value provider for this parameterproviderId - the id of the associated value provider for this parametermodelProperties - the model properties this model is enriched with@Deprecated public List<String> getActingParameters()
getParameters() instead.public List<ActingParameterModel> getParameters()
public Integer getPartOrder()
public String getProviderName()
public String getProviderId()
public boolean requiresConfiguration()
public boolean requiresConnection()
public boolean isOpen()
public <T extends ModelProperty> Optional<T> getModelProperty(Class<T> propertyType)
propertyType.
This search considers hierarchies. If no explicit value exists for the given propertyType, then it will look for
properties which extend the given type or, in the case of an interface, implement it.
getModelProperty in interface EnrichableModelT - the generic type of the return valuepropertyType - the Class of the ModelProperty which is being queriedOptional ModelPropertypublic Set<ModelProperty> getModelProperties()
getModelProperties in interface EnrichableModelSet containing all the model propertiesCopyright © 2025 MuleSoft, Inc.. All rights reserved.