Class ImmutableNestedRouteModel
java.lang.Object
org.mule.runtime.extension.api.model.AbstractImmutableModel
org.mule.runtime.extension.api.model.AbstractNamedImmutableModel
org.mule.runtime.extension.api.model.parameter.AbstractParameterizedModel
org.mule.runtime.extension.api.model.parameter.AbstractStereotypedModel
org.mule.runtime.extension.api.model.AbstractComponentModel
org.mule.runtime.extension.api.model.nested.ImmutableNestedRouteModel
- 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.NestableElementModel,org.mule.runtime.api.meta.model.nested.NestedRouteModel,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 ImmutableNestedRouteModel
extends AbstractComponentModel
implements org.mule.runtime.api.meta.model.nested.NestedRouteModel
Immutable concrete implementation of
NestedRouteModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsConstructorDescriptionImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Creates a new instanceImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotypeModel, 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 instanceImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotypeModel, 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 -
Method Summary
Methods inherited from class org.mule.runtime.extension.api.model.AbstractComponentModel
getErrorModels, getNestedComponents, getSemanticTerms, getVisibilityMethods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractStereotypedModel
getDeprecationModel, getMinMuleVersion, getStereotype, isDeprecatedMethods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractParameterizedModel
getParameterGroupModelsMethods inherited from class org.mule.runtime.extension.api.model.AbstractNamedImmutableModel
checkArgument, equals, getDisplayModel, getName, hashCodeMethods inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
copy, copy, getDescription, getModelProperties, getModelPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.mule.runtime.api.meta.model.ComponentModel
getVisibilityMethods inherited from interface org.mule.runtime.api.meta.model.ComposableModel
getNestedComponentsMethods inherited from interface org.mule.runtime.api.meta.model.deprecated.DeprecableModel
getDeprecationModel, isDeprecatedMethods inherited from interface org.mule.runtime.api.meta.DescribedObject
getDescriptionMethods inherited from interface org.mule.runtime.api.meta.model.EnrichableModel
getModelProperties, getModelPropertyMethods inherited from interface org.mule.runtime.api.meta.model.display.HasDisplayModel
getDisplayModelMethods inherited from interface org.mule.runtime.api.meta.model.version.HasMinMuleVersion
getMinMuleVersionMethods inherited from interface org.mule.runtime.api.meta.model.declaration.fluent.HasSemanticTerms
getSemanticTermsMethods inherited from interface org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel
getStereotypeMethods inherited from interface org.mule.runtime.api.meta.NamedObject
getNameMethods inherited from interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel
getAllParameterModels, getParameterGroupModelsMethods inherited from interface org.mule.runtime.api.meta.model.error.ThrowsErrors
getErrorModels
-
Constructor Details
-
ImmutableNestedRouteModel
public ImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, 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 namedescription- the model's descriptionparameterGroupModels- aListwith the component'sparameter group modelsdisplayModel- a model which contains directive about how this component is displayed in the UIminOccurs- the minimum amount of times that this component can be used inside the owning one.maxOccurs- the maximum number of instances allowed for this route.nullmeans unbounded.childComponents- the route's child componentsvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this model- Throws:
IllegalArgumentException- ifnameis blank
-
ImmutableNestedRouteModel
public ImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotypeModel, 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 namedescription- the model's descriptionparameterGroupModels- aListwith the component'sparameter group modelsdisplayModel- a model which contains directive about how this component is displayed in the UIminOccurs- the minimum number of instances required for this kind of routemaxOccurs- the maximum number of instances allowed for this kind of routechildComponents- the route's child componentsstereotypeModel- this component's stereotype ornullif it doesn't have onevisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the component is deprecated. A null value means it is not deprecated.semanticTerms- aSetof semantic terms which describe the component's meaning and effect- Throws:
IllegalArgumentException- ifnameis blank- Since:
- 1.4.0
-
ImmutableNestedRouteModel
public ImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotypeModel, 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 namedescription- the model's descriptionparameterGroupModels- aListwith the component'sparameter group modelsdisplayModel- a model which contains directive about how this component is displayed in the UIminOccurs- the minimum number of instances required for this kind of routemaxOccurs- the maximum number of instances allowed for this kind of routechildComponents- the route's child componentsstereotypeModel- this component's stereotype ornullif it doesn't have onevisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the component is deprecated. A null value means it is not deprecated.semanticTerms- aSetof semantic terms which describe the component's meaning and effectminMuleVersion- the min mule version of the route model.- Throws:
IllegalArgumentException- ifnameis blank- Since:
- 1.5.0
-
-
Method Details
-
accept
public void accept(org.mule.runtime.api.meta.model.ComponentModelVisitor visitor) - Specified by:
acceptin interfaceorg.mule.runtime.api.meta.model.ComponentModel- Since:
- 1.4.0
-
isRequired
public boolean isRequired()- Specified by:
isRequiredin interfaceorg.mule.runtime.api.meta.model.nested.NestableElementModel
-
accept
public void accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor) - Specified by:
acceptin interfaceorg.mule.runtime.api.meta.model.nested.NestableElementModel
-
getMinOccurs
public int getMinOccurs()- Specified by:
getMinOccursin interfaceorg.mule.runtime.api.meta.model.nested.NestableElementModel- Specified by:
getMinOccursin interfaceorg.mule.runtime.api.meta.model.nested.NestedRouteModel
-
getMaxOccurs
- Specified by:
getMaxOccursin interfaceorg.mule.runtime.api.meta.model.nested.NestableElementModel- Specified by:
getMaxOccursin interfaceorg.mule.runtime.api.meta.model.nested.NestedRouteModel
-
toString
- Overrides:
toStringin classAbstractComponentModel
-