Class InboundServiceImpl
java.lang.Object
com.flowable.engage.external.system.service.InboundServiceImpl
- All Implemented Interfaces:
InboundService
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String,InboundErrorHandler> protected final Map<String,InboundStatusHandler> -
Constructor Summary
ConstructorsConstructorDescriptionInboundServiceImpl(List<InboundStatusHandler> inboundStatusHandlers, List<InboundErrorHandler> inboundErrorHandlers) -
Method Summary
Modifier and TypeMethodDescriptiongetErrorHandler(String externalSystemId) Get the inbound error handler responsible for the givenexternalSystemId.getStatusHandler(String externalSystemId) Get the inbound status handler responsible for the givenexternalSystemId.
-
Field Details
-
inboundStatusHandlers
-
inboundErrorHandlers
-
-
Constructor Details
-
InboundServiceImpl
public InboundServiceImpl(List<InboundStatusHandler> inboundStatusHandlers, List<InboundErrorHandler> inboundErrorHandlers)
-
-
Method Details
-
getStatusHandler
Description copied from interface:InboundServiceGet the inbound status handler responsible for the givenexternalSystemId. If there is no status handler then either a default one should be returned or an exception thrown.- Specified by:
getStatusHandlerin interfaceInboundService- Parameters:
externalSystemId- the id of the external system- Returns:
- the status handler for the given system, never
null
-
getErrorHandler
Description copied from interface:InboundServiceGet the inbound error handler responsible for the givenexternalSystemId. If there is no error handler then either a default one should be returned or an exception thrown.- Specified by:
getErrorHandlerin interfaceInboundService- Parameters:
externalSystemId- the id of the external system- Returns:
- the error handler for the given system, never
null
-