public interface OperationModel extends ComponentModel
ExtensionModel.
Operation models implement the flyweight pattern. This means
that a given operation should only be represented by only
one instance of this class. Thus, if the same operation is
contained by different HasOperationModels instances,
then each of those containers should reference the same
operation model instance.
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(ComponentModelVisitor visitor)
Accepts a
ComponentModelVisitor |
ExecutionType |
getExecutionType() |
OutputModel |
getOutputAttributes()
Returns a
MetadataType for the value that this operation sets
on the output Message.getAttributes() field. |
boolean |
isBlocking() |
getOutput, getStereotypes, isTransactional, requiresConnection, supportsStreaminggetModelProperties, getModelPropertygetAllParameterModels, getParameterGroupModelsgetNamegetDescriptiongetDisplayModelgetErrorModelsOutputModel getOutputAttributes()
MetadataType for the value that this operation sets
on the output Message.getAttributes() field.
If this operation does not modify that value, then a NullType instance
will be returned. Notice however that this does not mean that the property
will be set to null on the message, it means that whatever value it had
before the operation was executed will be preserved after it returns.
getOutputAttributes in interface ComponentModelMetadataType representing the attribute types for the output messagesboolean isBlocking()
ExecutionType getExecutionType()
ExecutionTypedefault void accept(ComponentModelVisitor visitor)
ComponentModelVisitoraccept in interface ComponentModelvisitor - a ComponentModelVisitorCopyright © 2017 MuleSoft, Inc.. All rights reserved.