Class AbstractParameterizedModel

All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.display.HasDisplayModel, org.mule.runtime.api.meta.model.EnrichableModel, org.mule.runtime.api.meta.model.parameter.ParameterizedModel, org.mule.runtime.api.meta.NamedObject
Direct Known Subclasses:
AbstractStereotypedModel, ImmutableFunctionModel, ImmutableSourceCallbackModel

public abstract class AbstractParameterizedModel extends AbstractNamedImmutableModel implements org.mule.runtime.api.meta.model.parameter.ParameterizedModel
Base class for immutable implementation of ParameterizedModel
Since:
1.0
  • Constructor Details

    • AbstractParameterizedModel

      protected AbstractParameterizedModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
      Creates a new instance
      Parameters:
      name - the model's name
      description - the model's description
      parameterGroupModels - a List with the component's parameter group models
      displayModel - a model which contains directive about how this component is displayed in the UI
      modelProperties - A Set of custom properties which extend this model
      Throws:
      IllegalArgumentException - if name is blank
  • Method Details

    • getParameterGroupModels

      public List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> getParameterGroupModels()
      Specified by:
      getParameterGroupModels in interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel
    • toString

      public String toString()
      Overrides:
      toString in class AbstractNamedImmutableModel