Package org.camunda.connect.plugin.impl
Class ServiceTaskConnectorActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
org.camunda.connect.plugin.impl.ServiceTaskConnectorActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
the id of the connectorprotected Connector<?>
cached connector instance for this activity.protected IoMapping
the local ioMapping for this connector.Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
activityInstanceId
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
ConstructorDescriptionServiceTaskConnectorActivityBehavior
(String connectorId, IoMapping ioMapping) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyInputParameters
(ActivityExecution execution, ConnectorRequest<?> request) protected void
applyOutputParameters
(ActivityExecution execution, ConnectorResponse response) protected void
void
execute
(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
performExecution, postExecution, preExecution
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
connectorId
the id of the connector -
connectorInstance
cached connector instance for this activity. Will be initialized after the first execution of this activity. -
ioMapping
the local ioMapping for this connector.
-
-
Constructor Details
-
ServiceTaskConnectorActivityBehavior
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classTaskActivityBehavior
- Throws:
Exception
-
applyInputParameters
-
applyOutputParameters
-
ensureConnectorInitialized
protected void ensureConnectorInitialized()
-