Class ImmutableActingParameterModel

java.lang.Object
org.mule.runtime.extension.api.model.parameter.ImmutableActingParameterModel
All Implemented Interfaces:
org.mule.runtime.api.meta.model.parameter.ActingParameterModel

public class ImmutableActingParameterModel extends Object implements org.mule.runtime.api.meta.model.parameter.ActingParameterModel
Immutable implementation of ActingParameterModel
Since:
1.4.0
  • Constructor Details

    • ImmutableActingParameterModel

      public ImmutableActingParameterModel(String name, boolean required)
      Creates a new instance with the given state
      Parameters:
      name - the parameter's name. Cannot be blank.
      required - whether this parameter is required or not
    • ImmutableActingParameterModel

      public ImmutableActingParameterModel(String name, boolean required, String extractionExpression)
      Creates a new instance with the given state
      Parameters:
      name - the parameter's name. Cannot be blank.
      required - whether this parameter is required or not
      extractionExpression - the extraction expression to the acting parameter value.
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.mule.runtime.api.meta.model.parameter.ActingParameterModel
    • isRequired

      public boolean isRequired()
      Specified by:
      isRequired in interface org.mule.runtime.api.meta.model.parameter.ActingParameterModel
    • getExtractionExpression

      public String getExtractionExpression()
      Specified by:
      getExtractionExpression in interface org.mule.runtime.api.meta.model.parameter.ActingParameterModel
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object