Class ImmutableParameterGroupModel

All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.display.HasDisplayModel, org.mule.runtime.api.meta.model.display.HasLayoutModel, org.mule.runtime.api.meta.model.EnrichableModel, org.mule.runtime.api.meta.model.parameter.ParameterGroupModel, org.mule.runtime.api.meta.NamedObject

public final class ImmutableParameterGroupModel extends AbstractNamedImmutableModel implements org.mule.runtime.api.meta.model.parameter.ParameterGroupModel
Immutable implementation of ParameterGroupModel
Since:
1.0
  • Constructor Details

    • ImmutableParameterGroupModel

      public ImmutableParameterGroupModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters, List<org.mule.runtime.api.meta.model.parameter.ExclusiveParametersModel> exclusiveParametersModels, boolean showInDsl, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.display.LayoutModel layoutModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
      Creates a new instance
      Parameters:
      name - the operation's name. Cannot be blank
      description - the operation's descriptor
      parameters - the parameters contained in this group
      exclusiveParametersModels - a list with the applying ExclusiveParametersModel
      showInDsl - if true, this Group will be shown as an inline element of the DSL
      displayModel - a model which contains directive about how the parameter is displayed in the UI
      layoutModel - a model which contains directives about the parameter's layout in the UI
      modelProperties - A Set of custom properties which extend this model
  • Method Details

    • getParameterModels

      public List<org.mule.runtime.api.meta.model.parameter.ParameterModel> getParameterModels()
      Specified by:
      getParameterModels in interface org.mule.runtime.api.meta.model.parameter.ParameterGroupModel
    • getExclusiveParametersModels

      public List<org.mule.runtime.api.meta.model.parameter.ExclusiveParametersModel> getExclusiveParametersModels()
      Specified by:
      getExclusiveParametersModels in interface org.mule.runtime.api.meta.model.parameter.ParameterGroupModel
    • getLayoutModel

      public Optional<org.mule.runtime.api.meta.model.display.LayoutModel> getLayoutModel()
      Specified by:
      getLayoutModel in interface org.mule.runtime.api.meta.model.display.HasLayoutModel
    • getParameter

      public Optional<org.mule.runtime.api.meta.model.parameter.ParameterModel> getParameter(String name)
      Specified by:
      getParameter in interface org.mule.runtime.api.meta.model.parameter.ParameterGroupModel
    • isShowInDsl

      public boolean isShowInDsl()
      Specified by:
      isShowInDsl in interface org.mule.runtime.api.meta.model.parameter.ParameterGroupModel
    • toString

      public String toString()
      Overrides:
      toString in class AbstractNamedImmutableModel