public abstract class BaseInboundStatusHandler extends Object implements InboundStatusHandler
Modifier and Type | Field and Description |
---|---|
protected String |
externalSystemId |
Modifier | Constructor and Description |
---|---|
protected |
BaseInboundStatusHandler(String externalSystemId) |
Modifier and Type | Method and 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 adapter
|
protected abstract void |
handleUnknownStatus(InboundStatusDto status) |
protected final String externalSystemId
protected BaseInboundStatusHandler(String externalSystemId)
public final String getExternalSystemId()
InboundStatusHandler
getExternalSystemId
in interface InboundStatusHandler
public void handleStatus(InboundStatusDto status)
InboundStatusHandler
handleStatus
in interface InboundStatusHandler
status
- the status from the external adapterprotected abstract void handleInternalStatus(InboundStatusDto status)
protected abstract void handleExternalStatus(InboundStatusDto status)
protected abstract void handleUnknownStatus(InboundStatusDto status)
Copyright © 2019. All rights reserved.