public class ImmutableSourceModel extends AbstractComponentModel implements org.mule.runtime.api.meta.model.source.SourceModel
SourceModeldescription, modelProperties| Constructor and Description |
|---|
ImmutableSourceModel(String name,
String description,
boolean hasResponse,
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,
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,
Set<org.mule.runtime.api.meta.model.Stereotype> stereotypes,
Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> |
getErrorCallback() |
Set<org.mule.runtime.api.meta.model.error.ErrorModel> |
getErrorModels() |
Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> |
getSuccessCallback() |
Optional<org.mule.runtime.api.meta.model.source.SourceCallbackModel> |
getTerminateCallback() |
boolean |
hasResponse() |
getOutput, getOutputAttributes, getStereotypes, isTransactional, requiresConnection, supportsStreaminggetParameterGroupModelscheckArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getAllParameterModelsgetOutput, getOutputAttributes, getStereotypes, isTransactional, requiresConnection, supportsStreaminggetModelProperties, getModelPropertypublic ImmutableSourceModel(String name, String description, boolean hasResponse, 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, 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, Set<org.mule.runtime.api.meta.model.Stereotype> stereotypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
name - the source name. Cannot be blankdescription - the source descriptionhasResponse - Whether the source emits a responseparameterGroupModels - a List with the source's parameter group modelsoutput - 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 UIstereotypes - A Set of stereotypesmodelProperties - A Set of custom properties which extend this modelpublic 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 Set<org.mule.runtime.api.meta.model.error.ErrorModel> getErrorModels()
getErrorModels in interface org.mule.runtime.api.meta.model.error.ThrowsErrorsCopyright © 2017 MuleSoft, Inc.. All rights reserved.