Class ImmutableSourceModel
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
org.mule.runtime.extension.api.model.source.ImmutableSourceModel
- 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.source.SourceModel,org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel,org.mule.runtime.api.meta.model.version.HasMinMuleVersion,org.mule.runtime.api.meta.NamedObject
public class ImmutableSourceModel
extends AbstractExecutableComponentModel
implements org.mule.runtime.api.meta.model.source.SourceModel
Immutable implementation of
SourceModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsConstructorDescriptionImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications) Deprecated.This constructor is deprecated and will be removed in Mule 5.ImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instanceImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 instanceImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 instanceImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 instanceImmutableSourceModel(String name, String description, boolean hasResponse, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Deprecated.This constructor is deprecated and will be removed in Mule 5. -
Method Summary
Methods inherited from class org.mule.runtime.extension.api.model.AbstractExecutableComponentModel
getNotificationModels, getOutput, getOutputAttributes, getSampleDataProviderModel, isTransactional, requiresConnection, supportsStreamingMethods 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.ConnectableComponentModel
isTransactional, requiresConnection, supportsStreamingMethods 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.notification.HasNotifications
getNotificationModelsMethods inherited from interface org.mule.runtime.api.meta.model.HasOutputModel
getOutput, getOutputAttributes, getSampleDataProviderModelMethods 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
getParameterGroupModelsMethods inherited from interface org.mule.runtime.api.meta.model.source.SourceModel
accept, getAllParameterModelsMethods inherited from interface org.mule.runtime.api.meta.model.error.ThrowsErrors
getErrorModels
-
Constructor Details
-
ImmutableSourceModel
@Deprecated public ImmutableSourceModel(String name, String description, boolean hasResponse, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Deprecated.This constructor is deprecated and will be removed in Mule 5. Use#ImmutableSourceModel(String, String, boolean, boolean, List, List, OutputModel, OutputModel, Optional, Optional, Optional, boolean, boolean, boolean, DisplayModel, StereotypeModel, Set, Set, Set)insteadCreates a new instance- Parameters:
name- the source name. Cannot be blankdescription- the source descriptionhasResponse- Whether the source emits a responseparameterGroupModels- aListwith the source'sparameter group modelsnestedComponents- aListwith the components contained by this modeloutput- anOutputModelwhich represents the operation's output contentoutputAttributes- anOutputModelwhich represents the attributes on the output mesuccessCallbackModel- an optional model for the source success callbackerrorCallbackModel- an optional model for the source error callbackrequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this source is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this model
-
ImmutableSourceModel
public ImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications) Deprecated.This constructor is deprecated and will be removed in Mule 5. Use#ImmutableSourceModel(String, String, boolean, boolean, List, List, OutputModel, OutputModel, Optional, Optional, Optional, boolean, boolean, boolean, DisplayModel, StereotypeModel, Set, Set, Set, DeprecationModel)insteadCreates a new instance- Parameters:
name- the source name. Cannot be blankdescription- the source descriptionhasResponse- Whether the source emits a responserunsOnPrimaryNodeOnly- Whether the source should only run on the primary node or all nodesparameterGroupModels- aListwith the source'sparameter group modelsnestedComponents- aListwith the components contained by this modeloutput- anOutputModelwhich represents the operation's output contentoutputAttributes- anOutputModelwhich represents the attributes on the output mesuccessCallbackModel- an optional model for the source success callbackerrorCallbackModel- an optional model for the source error callbackrequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this source is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the source's notifications
-
ImmutableSourceModel
public ImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 source name. Cannot be blankdescription- the source descriptionhasResponse- Whether the source emits a responserunsOnPrimaryNodeOnly- Whether the source should only run on the primary node or all nodesparameterGroupModels- aListwith the source'sparameter group modelsnestedComponents- aListwith the components contained by this modeloutput- anOutputModelwhich represents the operation's output contentoutputAttributes- anOutputModelwhich represents the attributes on the output mesuccessCallbackModel- an optional model for the source success callbackerrorCallbackModel- an optional model for the source error callbackrequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this source is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the source's notifications
-
ImmutableSourceModel
public ImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 source name. Cannot be blankdescription- the source descriptionhasResponse- Whether the source emits a responserunsOnPrimaryNodeOnly- Whether the source should only run on the primary node or all nodesparameterGroupModels- aListwith the source'sparameter group modelsnestedComponents- aListwith the components contained by this modeloutput- anOutputModelwhich represents the operation's output contentoutputAttributes- anOutputModelwhich represents the attributes on the output mesuccessCallbackModel- an optional model for the source success callbackerrorCallbackModel- an optional model for the source error callbackrequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this source is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the source's notificationssampleDataProviderModel- A nullableSampleDataProviderModelwhich describes the component's sample data capabilities- Since:
- 1.4.0
-
ImmutableSourceModel
public ImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 source name. Cannot be blankdescription- the source descriptionhasResponse- Whether the source emits a responserunsOnPrimaryNodeOnly- Whether the source should only run on the primary node or all nodesparameterGroupModels- aListwith the source'sparameter group modelsnestedComponents- aListwith the components contained by this modeloutput- anOutputModelwhich represents the operation's output contentoutputAttributes- anOutputModelwhich represents the attributes on the output mesuccessCallbackModel- an optional model for the source success callbackerrorCallbackModel- an optional model for the source error callbackrequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this source is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the source's notificationssampleDataProviderModel- A nullableSampleDataProviderModelwhich describes the component's sample data capabilitiessemanticTerms- aSetof semantic terms which describe the source's meaning and effect- Since:
- 1.4.0
-
ImmutableSourceModel
public ImmutableSourceModel(String name, String description, boolean hasResponse, boolean runsOnPrimaryNodeOnly, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.OutputModel outputAttributes, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> successCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> errorCallbackModel, Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> terminateCallbackModel, boolean requiresConnection, boolean transactional, boolean supportsStreaming, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.ComponentVisibility visibility, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, 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 source name. Cannot be blankdescription- the source descriptionhasResponse- Whether the source emits a responserunsOnPrimaryNodeOnly- Whether the source should only run on the primary node or all nodesparameterGroupModels- aListwith the source'sparameter group modelsnestedComponents- aListwith the components contained by this modeloutput- anOutputModelwhich represents the operation's output contentoutputAttributes- anOutputModelwhich represents the attributes on the output mesuccessCallbackModel- an optional model for the source success callbackerrorCallbackModel- an optional model for the source error callbackrequiresConnection- whether this component requires connectivitytransactional- whether this component supports transactionssupportsStreaming- whether this component supports streamingdisplayModel- a model which contains directive about how this source is displayed in the UIstereotype- thestereotypeof this componentvisibility- the model'sComponentVisibilitymodelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the source's notificationssampleDataProviderModel- A nullableSampleDataProviderModelwhich describes the component's sample data capabilitiessemanticTerms- aSetof semantic terms which describe the source's meaning and effectminMuleVersion- the min mule version of the source- Since:
- 1.5.0
-
-
Method Details
-
hasResponse
public boolean hasResponse()- Specified by:
hasResponsein interfaceorg.mule.runtime.api.meta.model.source.SourceModel
-
getSuccessCallback
- Specified by:
getSuccessCallbackin interfaceorg.mule.runtime.api.meta.model.source.SourceModel
-
getErrorCallback
- Specified by:
getErrorCallbackin interfaceorg.mule.runtime.api.meta.model.source.SourceModel
-
getTerminateCallback
- Specified by:
getTerminateCallbackin interfaceorg.mule.runtime.api.meta.model.source.SourceModel
-
runsOnPrimaryNodeOnly
public boolean runsOnPrimaryNodeOnly()- Specified by:
runsOnPrimaryNodeOnlyin interfaceorg.mule.runtime.api.meta.model.source.SourceModel
-
toString
- Overrides:
toStringin classAbstractExecutableComponentModel
-