Class ImmutableNestedChainModel

All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.ComponentModel, org.mule.runtime.api.meta.model.ComposableModel, org.mule.runtime.api.meta.model.declaration.fluent.HasSemanticTerms, org.mule.runtime.api.meta.model.deprecated.DeprecableModel, org.mule.runtime.api.meta.model.display.HasDisplayModel, org.mule.runtime.api.meta.model.EnrichableModel, org.mule.runtime.api.meta.model.error.ThrowsErrors, org.mule.runtime.api.meta.model.nested.HasChainExecutionOccurrence, org.mule.runtime.api.meta.model.nested.NestableElementModel, org.mule.runtime.api.meta.model.nested.NestedChainModel, org.mule.runtime.api.meta.model.nested.NestedComponentModel, org.mule.runtime.api.meta.model.parameter.ParameterizedModel, org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel, org.mule.runtime.api.meta.model.version.HasMinMuleVersion, org.mule.runtime.api.meta.NamedObject

public class ImmutableNestedChainModel extends ImmutableNestedComponentModel implements org.mule.runtime.api.meta.model.nested.NestedChainModel
Immutable concrete implementation of NestedChainModel
Since:
1.0
  • Field Summary

    Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel

    description, modelProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImmutableNestedChainModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms)
    Creates a new instance
    ImmutableNestedChainModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion)
    Creates a new instance
    ImmutableNestedChainModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion, org.mule.runtime.api.meta.model.nested.ChainExecutionOccurrence executionOccurrence)
    Creates a new instance
    ImmutableNestedChainModel(String name, String description, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
    Creates a new instance
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.mule.runtime.api.meta.model.ComponentModelVisitor visitor)
    void
    accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor)
    org.mule.runtime.api.meta.model.nested.ChainExecutionOccurrence
     

    Methods inherited from class org.mule.runtime.extension.api.model.nested.ImmutableNestedComponentModel

    getAllowedStereotypes, getMaxOccurs, getMinOccurs, isRequired, toString

    Methods inherited from class org.mule.runtime.extension.api.model.AbstractComponentModel

    getErrorModels, getNestedComponents, getSemanticTerms, getVisibility

    Methods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractStereotypedModel

    getDeprecationModel, getMinMuleVersion, getStereotype, isDeprecated

    Methods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractParameterizedModel

    getParameterGroupModels

    Methods inherited from class org.mule.runtime.extension.api.model.AbstractNamedImmutableModel

    checkArgument, equals, getDisplayModel, getName, hashCode

    Methods inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel

    copy, copy, getDescription, getModelProperties, getModelProperty

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.mule.runtime.api.meta.model.ComponentModel

    getVisibility

    Methods inherited from interface org.mule.runtime.api.meta.model.ComposableModel

    getNestedComponents

    Methods inherited from interface org.mule.runtime.api.meta.model.deprecated.DeprecableModel

    getDeprecationModel, isDeprecated

    Methods inherited from interface org.mule.runtime.api.meta.DescribedObject

    getDescription

    Methods inherited from interface org.mule.runtime.api.meta.model.EnrichableModel

    getModelProperties, getModelProperty

    Methods inherited from interface org.mule.runtime.api.meta.model.display.HasDisplayModel

    getDisplayModel

    Methods inherited from interface org.mule.runtime.api.meta.model.version.HasMinMuleVersion

    getMinMuleVersion

    Methods inherited from interface org.mule.runtime.api.meta.model.declaration.fluent.HasSemanticTerms

    getSemanticTerms

    Methods inherited from interface org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel

    getStereotype

    Methods inherited from interface org.mule.runtime.api.meta.NamedObject

    getName

    Methods inherited from interface org.mule.runtime.api.meta.model.nested.NestableElementModel

    getMaxOccurs, getMinOccurs

    Methods inherited from interface org.mule.runtime.api.meta.model.nested.NestedComponentModel

    getAllowedStereotypes, isRequired

    Methods inherited from interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel

    getAllParameterModels, getParameterGroupModels

    Methods inherited from interface org.mule.runtime.api.meta.model.error.ThrowsErrors

    getErrorModels
  • Constructor Details

    • ImmutableNestedChainModel

      public ImmutableNestedChainModel(String name, String description, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
      Creates a new instance
      Parameters:
      name - the model's name
      description - the model's description
      isRequired - whether this component is required
      allowedStereotypes - A Set of custom properties which extend this model
      displayModel - a model containing directives about how this component is to be displayed in the UI
      visibility - the model's ComponentVisibility
      modelProperties - A Set of custom properties which extend this model
      Throws:
      IllegalArgumentException - if name is blank
    • ImmutableNestedChainModel

      public ImmutableNestedChainModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms)
      Creates a new instance
      Parameters:
      name - the model's name
      description - the model's description
      parameterGroupModels - a List with the source's parameter group models
      isRequired - whether this element is required for its owner element
      allowedStereotypes - a Set with the StereotypeModels that can be assigned to this nested element.
      nestedComponents - a List with the components contained by this model
      displayModel - a model which contains directive about how this component is displayed in the UI
      stereotype - the stereotype of this component
      visibility - the model's ComponentVisibility
      modelProperties - A Set of custom properties which extend this model
      deprecationModel - a DeprecationModel describing if the component is deprecated. A null value means it is not deprecated.
      semanticTerms - a Set of semantic terms which describe the component's meaning and effect
      Throws:
      IllegalArgumentException - if name is blank
      Since:
      1.4.0
    • ImmutableNestedChainModel

      public ImmutableNestedChainModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion)
      Creates a new instance
      Parameters:
      name - the model's name
      description - the model's description
      parameterGroupModels - a List with the source's parameter group models
      isRequired - whether this element is required for its owner element
      allowedStereotypes - a Set with the StereotypeModels that can be assigned to this nested element.
      nestedComponents - a List with the components contained by this model
      displayModel - a model which contains directive about how this component is displayed in the UI
      stereotype - the stereotype of this component
      visibility - the model's ComponentVisibility
      modelProperties - A Set of custom properties which extend this model
      deprecationModel - a DeprecationModel describing if the component is deprecated. A null value means it is not deprecated.
      semanticTerms - a Set of semantic terms which describe the component's meaning and effect
      minMuleVersion - the min mule version of the nested chain model
      Throws:
      IllegalArgumentException - if name is blank
      Since:
      1.5.0
    • ImmutableNestedChainModel

      public ImmutableNestedChainModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion, org.mule.runtime.api.meta.model.nested.ChainExecutionOccurrence executionOccurrence)
      Creates a new instance
      Parameters:
      name - the model's name
      description - the model's description
      parameterGroupModels - a List with the source's parameter group models
      isRequired - whether this element is required for its owner element
      allowedStereotypes - a Set with the StereotypeModels that can be assigned to this nested element.
      nestedComponents - a List with the components contained by this model
      displayModel - a model which contains directive about how this component is displayed in the UI
      stereotype - the stereotype of this component
      visibility - the model's ComponentVisibility
      modelProperties - A Set of custom properties which extend this model
      deprecationModel - a DeprecationModel describing if the component is deprecated. A null value means it is not deprecated.
      semanticTerms - a Set of semantic terms which describe the component's meaning and effect
      minMuleVersion - the min mule version of the nested chain model
      executionOccurrence - the chain's ChainExecutionOccurrence
      Throws:
      IllegalArgumentException - if name is blank
      Since:
      1.7.0
  • Method Details

    • accept

      public void accept(org.mule.runtime.api.meta.model.ComponentModelVisitor visitor)
      Specified by:
      accept in interface org.mule.runtime.api.meta.model.ComponentModel
      Overrides:
      accept in class ImmutableNestedComponentModel
      Since:
      1.4.0
    • accept

      public void accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor)
      Description copied from class: ImmutableNestedComponentModel
      Specified by:
      accept in interface org.mule.runtime.api.meta.model.nested.NestableElementModel
      Overrides:
      accept in class ImmutableNestedComponentModel
    • getChainExecutionOccurrence

      public org.mule.runtime.api.meta.model.nested.ChainExecutionOccurrence getChainExecutionOccurrence()
      Specified by:
      getChainExecutionOccurrence in interface org.mule.runtime.api.meta.model.nested.HasChainExecutionOccurrence
      Returns:
      this chain's ChainExecutionOccurrence
      Since:
      1.7.0