Interface ConfigurationParameterValueProvider
@NoImplement
public interface ConfigurationParameterValueProvider
This interface allows the exposure of the
Set of values associated to a Configuration's or Connection
Provider's parameter.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel>getConfigModels(String providerName) Deprecated.Set<org.mule.runtime.api.value.Value>getConfigValues(String parameterName) Resolves the possiblevaluesfor the Configuration's parameter identified by theparameterNameSet<org.mule.runtime.api.value.Value>getConfigValues(String parameterName, String targetSelector) Gets the values for the Configuration's parameter of the givenparameterName, using the giventargetSelector.default List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel>getConnectionModels(String providerName) Deprecated.Set<org.mule.runtime.api.value.Value>getConnectionValues(String parameterName) Resolves the possiblevaluesfor the Connection Providers's parameter identified by theparameterNameSet<org.mule.runtime.api.value.Value>getConnectionValues(String parameterName, String targetSelector) Gets the values for the Connection Provider's parameter of the givenparameterName, using the giventargetSelector.
-
Method Details
-
getConfigValues
Set<org.mule.runtime.api.value.Value> getConfigValues(String parameterName) throws ValueResolvingException Resolves the possiblevaluesfor the Configuration's parameter identified by theparameterName- Parameters:
parameterName- the name of the parameter that has the capability to providevalues- Returns:
Setof possible and validvalues- Throws:
ValueResolvingException
-
getConfigValues
Set<org.mule.runtime.api.value.Value> getConfigValues(String parameterName, String targetSelector) throws ValueResolvingException Gets the values for the Configuration's 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:
Setof possible and validvalues- Throws:
ValueResolvingException
-
getConfigModels
@Deprecated default List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> getConfigModels(String providerName) throws ValueResolvingException Deprecated.Retrieves the list of associatedValueProviderModelwith the given provider name in the configuration- Parameters:
providerName- The name of the value provider- Returns:
- The associated
ValueProviderModel - Throws:
ValueResolvingException
-
getConnectionValues
Set<org.mule.runtime.api.value.Value> getConnectionValues(String parameterName) throws ValueResolvingException Resolves the possiblevaluesfor the Connection Providers's parameter identified by theparameterName- Parameters:
parameterName- the name of the parameter that has the capability to providevalues- Returns:
Setof possible and validvalues- Throws:
ValueResolvingException
-
getConnectionValues
Set<org.mule.runtime.api.value.Value> getConnectionValues(String parameterName, String targetSelector) throws ValueResolvingException Gets the values for the Connection Provider's 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:
Setof possible and validvalues- Throws:
ValueResolvingException
-
getConnectionModels
@Deprecated default List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> getConnectionModels(String providerName) throws ValueResolvingException Deprecated.Retrieves the list of associatedValueProviderModelwith the given provider name in the connection- Parameters:
providerName- The name of the value provider- Returns:
- The associated
ValueProviderModel - Throws:
ValueResolvingException
-