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 SummaryFields 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.TaskActivityBehavioractivityInstanceId
 - 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehaviorLOG
 - 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehaviorbpmnActivityBehavior
 
- 
 - 
Constructor SummaryConstructors Constructor Description ServiceTaskConnectorActivityBehavior(java.lang.String connectorId, IoMapping ioMapping)
 - 
Method SummaryAll 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.TaskActivityBehaviorperformExecution, postExecution, preExecution
 - 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehaviorcreateCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
 - 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehaviorleave, leaveIgnoreConditions
 
- 
 
- 
- 
- 
Field Detail- 
connectorIdprotected java.lang.String connectorId the id of the connector
 - 
connectorInstanceprotected org.camunda.connect.spi.Connector<?> connectorInstance cached connector instance for this activity. Will be initialized after the first execution of this activity.
 - 
ioMappingprotected IoMapping ioMapping the local ioMapping for this connector.
 
- 
 - 
Constructor Detail- 
ServiceTaskConnectorActivityBehaviorpublic ServiceTaskConnectorActivityBehavior(java.lang.String connectorId, IoMapping ioMapping)
 
- 
 - 
Method Detail- 
executepublic 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 interface- ActivityBehavior
- Specified by:
- executein interface- CoreActivityBehavior<ActivityExecution>
- Overrides:
- executein class- TaskActivityBehavior
- Throws:
- java.lang.Exception
 
 - 
applyInputParametersprotected void applyInputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorRequest<?> request) 
 - 
applyOutputParametersprotected void applyOutputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorResponse response) 
 - 
ensureConnectorInitializedprotected void ensureConnectorInitialized() 
 
- 
 
-