public interface OperationModelParser extends SemanticTermsParser, AdditionalPropertiesModelParser, StereotypeModelParser, NotificationEmitterParser, ComponentVisibilityParser
OperationModel so that the semantics reflected in it can be extracted in a uniform
way, regardless of the actual syntax used by the extension developer.ExtensionModelParsergetSemanticTermsgetAdditionalModelPropertiesgetStereotypegetEmittedNotificationsStreamgetComponentVisibilityString getName()
String getDescription()
OutputModelParser getOutputType()
OutputModelParser describing the operation's output valueOutputModelParser getAttributesOutputType()
OutputModelParser describing the operation's output attributesList<ParameterGroupModelParser> getParameterGroupModelParsers()
ParameterGroupModelParser per each parameter group defined in the operation. Each group is
listed in the same order as defined in the syntax.ParameterGroupModelParserList<NestedRouteModelParser> getNestedRouteParsers()
NestedRouteModelParser per each route defined in the operation.
The Routes are listed in the same order as defined in the syntax.
This list will only be populated when isRouter() returns true. The list will be empty otherwise.
NestedRouteModelParserOptional<CompletableComponentExecutorModelProperty> getExecutorModelProperty()
CompletableComponentExecutorModelProperty which will be used to create the
CompletableComponentExecutor that brings the operation to life.CompletableComponentExecutorModelPropertyOptional<NestedChainModelParser> getNestedChainParser()
NestedChainModelParser if the operation defined one.
The value will be present only if isScope() returns true
Optional NestedChainModelParserboolean isBlocking()
boolean isIgnored()
ExtensionModelboolean isScope()
boolean isRouter()
boolean isConnected()
boolean hasConfig()
boolean supportsStreaming()
boolean isTransactional()
boolean isAutoPaging()
If this method returns true, so will supportsStreaming()
Optional<org.mule.runtime.api.meta.model.operation.ExecutionType> getExecutionType()
ExecutionType if one was defined. If no value present, Mule will infer one.Optional<MediaTypeModelProperty> getMediaTypeModelProperty()
MediaTypeModelProperty describing the operation's output mimeType, if one was definedOptional<ExceptionHandlerModelProperty> getExceptionHandlerModelProperty()
Optional ExceptionHandlerModelProperty is an exception handler was defined for this operation.Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> getDeprecationModel()
DeprecationModel if one was definedOptional<org.mule.runtime.api.meta.model.display.DisplayModel> getDisplayModel()
DisplayModelList<ErrorModelParser> getErrorModelParsers()
ErrorModelParser per each error that the operation can raise.Optional<org.mule.runtime.extension.api.property.SinceMuleVersionModelProperty> getSinceMuleVersionModelProperty()
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.