Class DefaultOperationParametersBuilder
java.lang.Object
org.mule.runtime.extension.api.client.DefaultOperationParametersBuilder
Builder pattern implementation for building a new
OperationParameters instance.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionaddParameter(String name, Class<?> type, DefaultOperationParametersBuilder params) Ads a new complex parameter to execute the operation with.addParameter(String name, Object value) Ads a new parameter to execute the operation with.build()Builds a newOperationParametersinstance with all the configured parameters.configName(String configRef) Sets the name of the config used to execute an operation.
-
Method Details
-
configName
Sets the name of the config used to execute an operation. -
addParameter
Ads a new parameter to execute the operation with. -
addParameter
public DefaultOperationParametersBuilder addParameter(String name, Class<?> type, DefaultOperationParametersBuilder params) Ads a new complex parameter to execute the operation with. Thetypewill be instantiated and all the providedparamswill be set to that new instance. -
build
Builds a newOperationParametersinstance with all the configured parameters.
-