Class FxMotifStatusGenerator
java.lang.Object
com.caplin.motif.fx.ret.orders.extension.status.FxMotifStatusGenerator
- All Implemented Interfaces:
OrderStatusGenerator
An
OrderStatusGenerator
that supplies default statuses for the FxMotif.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedActionsFailStatus
(AllowedAction allowedAction) getStatus
(com.caplin.ret.trapi.fx.FXOrder order) Maps the status of FXOrder to the status displayed that will be displayed in the blotter.
-
Constructor Details
-
FxMotifStatusGenerator
public FxMotifStatusGenerator()
-
-
Method Details
-
getStatus
Description copied from interface:OrderStatusGenerator
Maps the status of FXOrder to the status displayed that will be displayed in the blotter.- Specified by:
getStatus
in interfaceOrderStatusGenerator
- Returns:
- The status to be displayed in the blotter for the given order.
-
getAllowedActionsFailStatus
- Specified by:
getAllowedActionsFailStatus
in interfaceOrderStatusGenerator
-