Class ImmutableExclusiveParametersModel

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

public final class ImmutableExclusiveParametersModel extends Object implements org.mule.runtime.api.meta.model.parameter.ExclusiveParametersModel
Immutable implementation of ExclusiveParametersModel
Since:
1.0
  • Constructor Details

    • ImmutableExclusiveParametersModel

      public ImmutableExclusiveParametersModel(Set<String> exclusiveParameterNames, boolean isOneRequired)
      Creates anew instance
      Parameters:
      exclusiveParameterNames - the names of the mutually exclusive parameters
      isOneRequired - whether one is required
  • Method Details

    • getExclusiveParameterNames

      public Set<String> getExclusiveParameterNames()
      Specified by:
      getExclusiveParameterNames in interface org.mule.runtime.api.meta.model.parameter.ExclusiveParametersModel
    • isOneRequired

      public boolean isOneRequired()
      Specified by:
      isOneRequired in interface org.mule.runtime.api.meta.model.parameter.ExclusiveParametersModel