Class Operation
java.lang.Object
org.flowable.engine.impl.bpmn.webservice.Operation
An Operation is part of an
BpmnInterface and it defines Messages that are consumed and (optionally) produced when the Operation is called.- Author:
- Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BpmnInterfaceThe interface to which this operations belongsprotected Stringprotected OperationImplementationprotected MessageDefinitionprotected Stringprotected MessageDefinition -
Constructor Summary
ConstructorsConstructorDescriptionOperation(String id, String name, BpmnInterface bpmnInterface, MessageDefinition inMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()sendMessage(MessageInstance message, ConcurrentMap<QName, URL> overridenEndpointAddresses) voidvoidsetImplementation(OperationImplementation implementation) voidsetInMessage(MessageDefinition inMessage) voidsetInterface(BpmnInterface bpmnInterface) voidvoidsetOutMessage(MessageDefinition outMessage)
-
Field Details
-
id
-
name
-
inMessage
-
outMessage
-
implementation
-
bpmnInterface
The interface to which this operations belongs
-
-
Constructor Details
-
Operation
public Operation() -
Operation
-
-
Method Details
-
sendMessage
public MessageInstance sendMessage(MessageInstance message, ConcurrentMap<QName, URL> overridenEndpointAddresses) throws Exception- Throws:
Exception
-
getId
-
setId
-
getName
-
setName
-
getInterface
-
setInterface
-
getInMessage
-
setInMessage
-
getOutMessage
-
setOutMessage
-
getImplementation
-
setImplementation
-