Class AbstractExecutableComponentModel
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.AbstractExecutableComponentModel
- 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.ConnectableComponentModel,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.HasOutputModel,org.mule.runtime.api.meta.model.notification.HasNotifications,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
- Direct Known Subclasses:
ImmutableOperationModel,ImmutableSourceModel
public abstract class AbstractExecutableComponentModel
extends AbstractComponentModel
implements org.mule.runtime.api.meta.model.ConnectableComponentModel, org.mule.runtime.api.meta.model.notification.HasNotifications
Base class for immutable implementations of a
ComponentModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents) Deprecated.This constructor is deprecated and will be removed in Mule 5.protectedAbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications) Creates a new instanceprotectedAbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instanceprotectedAbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel sampleDataProviderModel) Creates a new instanceprotectedAbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel sampleDataProviderModel, Set<String> semanticTerms) Creates a new instanceprotectedAbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel sampleDataProviderModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion) Creates a new instance -
Method Summary
Modifier and TypeMethodDescriptionSet<org.mule.runtime.api.meta.model.notification.NotificationModel>org.mule.runtime.api.meta.model.OutputModelorg.mule.runtime.api.meta.model.OutputModelOptional<org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel>booleanbooleanbooleantoString()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
accept, 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
-
AbstractExecutableComponentModel
@Deprecated protected AbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents) Deprecated.This constructor is deprecated and will be removed in Mule 5. Use#AbstractExecutableComponentModel(String, String, List, OutputModel, OutputModel, boolean, boolean, boolean, DisplayModel, Set, StereotypeModel, Set, List, Set)insteadCreates a new instance- Parameters:
name- the model's namedescription- the model's descriptionparameterGroupModels- aListwith the source'sparameter group modelsoutput- anOutputModelwhich represents the component's output contentoutputAttributes- anOutputModelwhich represents the component's attributes on the outputMessagerequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this component is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnestedComponents- aListwith the components contained by this model- Throws:
IllegalArgumentException- ifnameis blank
-
AbstractExecutableComponentModel
protected AbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications) Creates a new instance- Parameters:
name- the model's namedescription- the model's descriptionparameterGroupModels- aListwith the source'sparameter group modelsoutput- anOutputModelwhich represents the component's output contentoutputAttributes- anOutputModelwhich represents the component's attributes on the outputMessagerequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this component is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnestedComponents- aListwith the components contained by this modelnotifications- ASetofNotificationModelwhich describes the component's notifications- Throws:
IllegalArgumentException- ifnameis blank
-
AbstractExecutableComponentModel
protected AbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instance- Parameters:
name- the model's namedescription- the model's descriptionparameterGroupModels- aListwith the source'sparameter group modelsoutput- anOutputModelwhich represents the component's output contentoutputAttributes- anOutputModelwhich represents the component's attributes on the outputMessagerequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this component is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnestedComponents- aListwith the components contained by this modelnotifications- ASetofNotificationModelwhich describes the component's notificationsdeprecationModel- aDeprecationModeldescribing if the component is deprecated. A null value means it is not deprecated.- Throws:
IllegalArgumentException- ifnameis blank
-
AbstractExecutableComponentModel
protected AbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel sampleDataProviderModel) Creates a new instance- Parameters:
name- the model's namedescription- the model's descriptionparameterGroupModels- aListwith the source'sparameter group modelsoutput- anOutputModelwhich represents the component's output contentoutputAttributes- anOutputModelwhich represents the component's attributes on the outputMessagerequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this component is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnestedComponents- aListwith the components contained by this modelnotifications- ASetofNotificationModelwhich describes the component's notificationsdeprecationModel- aDeprecationModeldescribing if the component is deprecated. A null value means it is not deprecated.sampleDataProviderModel- A nullableSampleDataProviderModelwhich describes the component's sample data capabilities- Throws:
IllegalArgumentException- ifnameis blank- Since:
- 1.4.0
-
AbstractExecutableComponentModel
protected AbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel sampleDataProviderModel, Set<String> semanticTerms) Creates a new instance- Parameters:
name- the model's namedescription- the model's descriptionparameterGroupModels- aListwith the source'sparameter group modelsoutput- anOutputModelwhich represents the component's output contentoutputAttributes- anOutputModelwhich represents the component's attributes on the outputMessagerequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this component is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnestedComponents- aListwith the components contained by this modelnotifications- ASetofNotificationModelwhich describes the component's notificationsdeprecationModel- aDeprecationModeldescribing if the component is deprecated. A null value means it is not deprecated.sampleDataProviderModel- A nullableSampleDataProviderModelwhich describes the component's sample data capabilitiessemanticTerms- aSetof semantic terms which describe the component's meaning and effect- Throws:
IllegalArgumentException- ifnameis blank- Since:
- 1.4.0
-
AbstractExecutableComponentModel
protected AbstractExecutableComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, boolean requiresConnection, boolean transactional, boolean supportsStreaming, 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, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel sampleDataProviderModel, 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 source'sparameter group modelsoutput- anOutputModelwhich represents the component's output contentoutputAttributes- anOutputModelwhich represents the component's attributes on the outputMessagerequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this component is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnestedComponents- aListwith the components contained by this modelnotifications- ASetofNotificationModelwhich describes the component's notificationsdeprecationModel- aDeprecationModeldescribing if the component is deprecated. A null value means it is not deprecated.sampleDataProviderModel- A nullableSampleDataProviderModelwhich describes the component's sample data capabilitiessemanticTerms- aSetof semantic terms which describe the component's meaning and effectminMuleVersion- the min mule version of the component- Throws:
IllegalArgumentException- ifnameis blank- Since:
- 1.5.0
-
-
Method Details
-
getOutput
public org.mule.runtime.api.meta.model.OutputModel getOutput()- Specified by:
getOutputin interfaceorg.mule.runtime.api.meta.model.HasOutputModel
-
getOutputAttributes
public org.mule.runtime.api.meta.model.OutputModel getOutputAttributes()- Specified by:
getOutputAttributesin interfaceorg.mule.runtime.api.meta.model.HasOutputModel
-
isTransactional
public boolean isTransactional()- Specified by:
isTransactionalin interfaceorg.mule.runtime.api.meta.model.ConnectableComponentModel
-
requiresConnection
public boolean requiresConnection()- Specified by:
requiresConnectionin interfaceorg.mule.runtime.api.meta.model.ConnectableComponentModel
-
supportsStreaming
public boolean supportsStreaming()- Specified by:
supportsStreamingin interfaceorg.mule.runtime.api.meta.model.ConnectableComponentModel
-
getNotificationModels
- Specified by:
getNotificationModelsin interfaceorg.mule.runtime.api.meta.model.notification.HasNotifications
-
getSampleDataProviderModel
public Optional<org.mule.runtime.api.meta.model.data.sample.SampleDataProviderModel> getSampleDataProviderModel()- Specified by:
getSampleDataProviderModelin interfaceorg.mule.runtime.api.meta.model.HasOutputModel
-
toString
- Overrides:
toStringin classAbstractComponentModel
-