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 java.lang.StringconnectorIdthe id of the connectorprotected org.camunda.connect.spi.Connector<?>connectorInstancecached connector instance for this activity.protected IoMappingioMappingthe 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(java.lang.String connectorId, IoMapping ioMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyInputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorRequest<?> request)protected voidapplyOutputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorResponse response)protected voidensureConnectorInitialized()voidexecute(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 java.lang.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.
-
-
Constructor Detail
-
ServiceTaskConnectorActivityBehavior
public ServiceTaskConnectorActivityBehavior(java.lang.String connectorId, IoMapping ioMapping)
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classTaskActivityBehavior- Throws:
java.lang.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()
-
-