public class ImmutableSourceModel extends AbstractExecutableComponentModel implements org.mule.runtime.api.meta.model.source.SourceModel
SourceModeldescription, modelProperties| Constructor and Description |
|---|
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)
instead |
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
|
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
|
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
|
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)
instead |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> |
getErrorCallback() |
Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> |
getSuccessCallback() |
Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> |
getTerminateCallback() |
boolean |
hasResponse() |
boolean |
runsOnPrimaryNodeOnly() |
getNotificationModels, getOutput, getOutputAttributes, getSampleDataProviderModel, isTransactional, requiresConnection, supportsStreaminggetErrorModels, getNestedComponents, getSemanticTerms, getVisibilitygetDeprecationModel, getStereotype, isDeprecatedgetParameterGroupModelscheckArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getAllParameterModelsisTransactional, requiresConnection, supportsStreaminggetParameterGroupModelsgetNestedComponentsgetStereotypegetModelProperties, getModelPropertygetDisplayModelgetDeprecationModel, isDeprecatedgetSemanticTerms@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)
#ImmutableSourceModel(String, String, boolean, boolean, List, List, OutputModel, OutputModel, Optional, Optional, Optional, boolean, boolean, boolean, DisplayModel, StereotypeModel, Set, Set, Set)
insteadname - the source name. Cannot be blankdescription - the source descriptionhasResponse - Whether the source emits a responseparameterGroupModels - a List with the source's parameter group modelsnestedComponents - a List with the components contained by this modeloutput - an OutputModel which represents the operation's output contentoutputAttributes - an OutputModel which 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 - the stereotype of this componentvisibility - the model's ComponentVisibilitymodelProperties - A Set of custom properties which extend this modelpublic 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)
#ImmutableSourceModel(String, String, boolean, boolean, List, List, OutputModel, OutputModel, Optional, Optional, Optional, boolean, boolean, boolean, DisplayModel, StereotypeModel, Set, Set, Set, DeprecationModel)
insteadname - 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 - a List with the source's parameter group modelsnestedComponents - a List with the components contained by this modeloutput - an OutputModel which represents the operation's output contentoutputAttributes - an OutputModel which 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 - the stereotype of this componentvisibility - the model's ComponentVisibilitymodelProperties - A Set of custom properties which extend this modelnotifications - A Set of NotificationModel which describes the source's notificationspublic 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)
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 - a List with the source's parameter group modelsnestedComponents - a List with the components contained by this modeloutput - an OutputModel which represents the operation's output contentoutputAttributes - an OutputModel which 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 - the stereotype of this componentvisibility - the model's ComponentVisibilitymodelProperties - A Set of custom properties which extend this modelnotifications - A Set of NotificationModel which describes the source's notificationspublic 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)
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 - a List with the source's parameter group modelsnestedComponents - a List with the components contained by this modeloutput - an OutputModel which represents the operation's output contentoutputAttributes - an OutputModel which 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 - the stereotype of this componentvisibility - the model's ComponentVisibilitymodelProperties - A Set of custom properties which extend this modelnotifications - A Set of NotificationModel which describes the source's notificationssampleDataProviderModel - A nullable SampleDataProviderModel which describes the component's sample data
capabilitiespublic 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)
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 - a List with the source's parameter group modelsnestedComponents - a List with the components contained by this modeloutput - an OutputModel which represents the operation's output contentoutputAttributes - an OutputModel which 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 - the stereotype of this componentvisibility - the model's ComponentVisibilitymodelProperties - A Set of custom properties which extend this modelnotifications - A Set of NotificationModel which describes the source's notificationssampleDataProviderModel - A nullable SampleDataProviderModel which describes the component's sample data
capabilitiessemanticTerms - a Set of semantic terms which describe the source's meaning and effectpublic boolean hasResponse()
hasResponse in interface org.mule.runtime.api.meta.model.source.SourceModelpublic Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> getSuccessCallback()
getSuccessCallback in interface org.mule.runtime.api.meta.model.source.SourceModelpublic Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> getErrorCallback()
getErrorCallback in interface org.mule.runtime.api.meta.model.source.SourceModelpublic Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> getTerminateCallback()
getTerminateCallback in interface org.mule.runtime.api.meta.model.source.SourceModelpublic boolean runsOnPrimaryNodeOnly()
runsOnPrimaryNodeOnly in interface org.mule.runtime.api.meta.model.source.SourceModelCopyright © 2022 MuleSoft, Inc.. All rights reserved.