Package com.skava.oms.flow.adapter
Class DefaultExternalNotificationDelegate
java.lang.Object
com.skava.oms.flow.AbstractOrderNotification
com.skava.oms.flow.adapter.DefaultExternalNotificationDelegate
- All Implemented Interfaces:
org.camunda.bpm.engine.delegate.JavaDelegate
This class DefaultExternalNotificationDelegate defines the default External notification
properties. This class will add the default properties to the order.
- Since:
- 26-Jul-2022
- Author:
- Skava
-
Field Summary
Fields inherited from class com.skava.oms.flow.AbstractOrderNotification
NOTIFICATION, orderServiceObj
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order) This method contains the default process for the External notificationvoid
triggerEvent
(Order order, Notification notification, Map<String, Object> newOtherproperties) Trigger the external notification event to the queue.Methods inherited from class com.skava.oms.flow.AbstractOrderNotification
execute
-
Constructor Details
-
DefaultExternalNotificationDelegate
public DefaultExternalNotificationDelegate()
-
-
Method Details
-
process
public Map<String,Object> process(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order) This method contains the default process for the External notification- Specified by:
process
in classAbstractOrderNotification
- Parameters:
execution
- -Execution used in current delegateorderProcessData
- - contains the data related to the processorder
- - contains the order to be processed- Returns:
- notify object
-
triggerEvent
public void triggerEvent(Order order, Notification notification, Map<String, Object> newOtherproperties) Trigger the external notification event to the queue.- Overrides:
triggerEvent
in classAbstractOrderNotification
- Parameters:
order
- contains the order datanotification
-newOtherproperties
-
-