Class BaseInboundStatusHandler
- java.lang.Object
-
- com.flowable.engage.external.system.common.BaseInboundStatusHandler
-
- All Implemented Interfaces:
InboundStatusHandler
- Direct Known Subclasses:
LineInboundStatusHandler
,WeChatInboundStatusHandler
,WhatsAppInboundStatusHandler
public abstract class BaseInboundStatusHandler extends Object implements InboundStatusHandler
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected String
externalSystemId
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseInboundStatusHandler(String externalSystemId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getExternalSystemId()
Returns the id of the external system implemented by this handler.protected abstract void
handleExternalStatus(InboundStatusDto status)
protected abstract void
handleInternalStatus(InboundStatusDto status)
void
handleStatus(InboundStatusDto status)
Handle the received status from the external adapterprotected abstract void
handleUnknownStatus(InboundStatusDto status)
-
-
-
Field Detail
-
externalSystemId
protected final String externalSystemId
-
-
Constructor Detail
-
BaseInboundStatusHandler
protected BaseInboundStatusHandler(String externalSystemId)
-
-
Method Detail
-
getExternalSystemId
public final String getExternalSystemId()
Description copied from interface:InboundStatusHandler
Returns the id of the external system implemented by this handler.- Specified by:
getExternalSystemId
in interfaceInboundStatusHandler
- Returns:
- the external system id implemented by this handler
-
handleStatus
public void handleStatus(InboundStatusDto status)
Description copied from interface:InboundStatusHandler
Handle the received status from the external adapter- Specified by:
handleStatus
in interfaceInboundStatusHandler
- Parameters:
status
- the status from the external adapter
-
handleInternalStatus
protected abstract void handleInternalStatus(InboundStatusDto status)
-
handleExternalStatus
protected abstract void handleExternalStatus(InboundStatusDto status)
-
handleUnknownStatus
protected abstract void handleUnknownStatus(InboundStatusDto status)
-
-