Interface ComponentValueProvider
@NoImplement
public interface ComponentValueProvider
This interface allows the exposure of the
values associated to a parameter of a Component.- Since:
- 1.0
-
Method Summary
-
Method Details
-
getValues
- Parameters:
providerName- the name of the parameter for which resolve their possiblevalues- Returns:
- the resolved
values - Throws:
ValueResolvingException
-
getValues
Set<org.mule.runtime.api.value.Value> getValues(String parameterName, String targetSelector) throws ValueResolvingException Gets the values for the parameter of the givenparameterName, using the giventargetSelector. SeeFieldValues.targetSelectors()- Parameters:
parameterName- the name of the parameter for which itsvalueswill be resolvedtargetSelector- the target selector to use to resolve thevalues- Returns:
- the resolved
values - Throws:
ValueResolvingException- if there was an error resolving thevalues- Since:
- 1.4
-
getModels
@Deprecated default List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> getModels(String providerName) Deprecated.Retrieves the list of associatedValueProviderModelwith the given provider name in the component- Parameters:
providerName- The name of the value provider- Returns:
- The associated
ValueProviderModel
-