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
public class ServiceTaskConnectorActivityBehavior extends TaskActivityBehavior
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
connectorId
the id of the connectorprotected org.camunda.connect.spi.Connector<?>
connectorInstance
cached connector instance for this activity.protected IoMapping
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
Constructors Constructor Description ServiceTaskConnectorActivityBehavior(String connectorId, IoMapping ioMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyInputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorRequest<?> request)
protected void
applyOutputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorResponse response)
protected void
ensureConnectorInitialized()
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 Detail
-
connectorId
protected String connectorId
the id of the connector
-
connectorInstance
protected org.camunda.connect.spi.Connector<?> connectorInstance
cached connector instance for this activity. Will be initialized after the first execution of this activity.
-
ioMapping
protected IoMapping ioMapping
the local ioMapping for this connector.
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws Exception
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
protected void applyInputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorRequest<?> request)
-
applyOutputParameters
protected void applyOutputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorResponse response)
-
ensureConnectorInitialized
protected void ensureConnectorInitialized()
-
-