Interface Parameterizer<T extends Parameterizer>

All Known Subinterfaces:
ComponentParameterizer<T>, OperationParameterizer, SourceCallbackParameterizer, SourceParameterizer

@Experimental @MinMuleVersion("4.5.0") public interface Parameterizer<T extends Parameterizer>
Parameterizes a generic entity executed or created through the ExtensionsClient

NOTE: Experimental feature. Backwards compatibility not guaranteed.

Since:
1.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    withParameter(String parameterName, Object value)
    Sets a parameter with a given value, automatically determining the group the parameter belongs to.
    withParameter(String parameterGroup, String parameterName, Object value)
    Sets a parameter with a given value.
  • Method Details

    • withParameter

      T withParameter(String parameterName, Object value)
      Sets a parameter with a given value, automatically determining the group the parameter belongs to.
      Parameters:
      parameterName - the name of the parameter within the paramGroupName group to set.
      value - the value of the parameter to set
      Returns:
      this instance
    • withParameter

      T withParameter(String parameterGroup, String parameterName, Object value)
      Sets a parameter with a given value.
      Parameters:
      parameterGroup - the name of the group containing the parameter to set.
      parameterName - the name of the parameter within the paramGroupName group to set.
      value - the value of the parameter to set
      Returns:
      this instance