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 BpmnInterface
The interface to which this operations belongsprotected String
protected OperationImplementation
protected MessageDefinition
protected String
protected 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) void
void
setImplementation
(OperationImplementation implementation) void
setInMessage
(MessageDefinition inMessage) void
setInterface
(BpmnInterface bpmnInterface) void
void
setOutMessage
(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
-