Class BaseInboundStatusHandler
java.lang.Object
com.flowable.engage.external.system.common.BaseInboundStatusHandler
- All Implemented Interfaces:
InboundStatusHandler
- Direct Known Subclasses:
WeChatInboundStatusHandler
,WhatsAppInboundStatusHandler
public abstract class BaseInboundStatusHandler extends java.lang.Object implements InboundStatusHandler
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
externalSystemId
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseInboundStatusHandler(java.lang.String externalSystemId)
-
Method Summary
Modifier and Type Method Description java.lang.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 Details
-
externalSystemId
protected final java.lang.String externalSystemId
-
-
Constructor Details
-
BaseInboundStatusHandler
protected BaseInboundStatusHandler(java.lang.String externalSystemId)
-
-
Method Details
-
getExternalSystemId
public final java.lang.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
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
-
handleExternalStatus
-
handleUnknownStatus
-