Class ImmutableConstructModel
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.construct.ImmutableConstructModel
- 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.construct.ConstructModel,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.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 ImmutableConstructModel
extends AbstractComponentModel
implements org.mule.runtime.api.meta.model.construct.ConstructModel
Immutable concrete implementation of
OperationModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsConstructorDescriptionImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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) Creates a new instance with the given stateImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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) Creates a new instance with the given stateImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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 with the given stateImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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 with the given state -
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.construct.ConstructModel
acceptMethods 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
-
ImmutableConstructModel
public ImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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) Creates a new instance with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsnestedComponents- aListwith the components contained by this modelallowsTopLevelDefinition- whether or notthismodel can be declared as a root component in the applicationdisplayModel- a model which contains directive about how this operation is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this model- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull
-
ImmutableConstructModel
public ImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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) Creates a new instance with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsnestedComponents- aListwith the components contained by this modelallowsTopLevelDefinition- whether or notthismodel can be declared as a root component in the applicationdisplayModel- a model which contains directive about how this operation is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the construct is deprecated. A null value means it is not deprecated.- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull
-
ImmutableConstructModel
public ImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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 with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsnestedComponents- aListwith the components contained by this modelallowsTopLevelDefinition- whether or notthismodel can be declared as a root component in the applicationdisplayModel- a model which contains directive about how this operation is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the construct is deprecated. A null value means it is not deprecated.- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull
-
ImmutableConstructModel
public ImmutableConstructModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, 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 with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsnestedComponents- aListwith the components contained by this modelallowsTopLevelDefinition- whether or notthismodel can be declared as a root component in the applicationdisplayModel- a model which contains directive about how this operation is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the construct is deprecated. A null value means it is not deprecated.minMuleVersion- the min mule version of the construct model.- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull
-
-
Method Details
-
allowsTopLevelDeclaration
public boolean allowsTopLevelDeclaration()- Specified by:
allowsTopLevelDeclarationin interfaceorg.mule.runtime.api.meta.model.construct.ConstructModel
-
toString
- Overrides:
toStringin classAbstractComponentModel
-