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,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties,
Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications)
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,
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, isTransactional, requiresConnection, supportsStreaminggetErrorModels, getNestedComponentsgetStereotypegetParameterGroupModelscheckArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getAllParameterModelsisTransactional, requiresConnection, supportsStreaminggetParameterGroupModelsgetNestedComponentsgetStereotypegetModelProperties, getModelPropertygetDisplayModel@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, 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 componentmodelProperties - 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, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications)
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 componentmodelProperties - A Set of custom properties which extend this modelnotifications - A Set of NotificationModel which describes the source's notificationspublic 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 © 2018 MuleSoft, Inc.. All rights reserved.