Class FxMotifStatusGenerator
- java.lang.Object
-
- com.caplin.motif.fx.ret.orders.extension.status.FxMotifStatusGenerator
-
- All Implemented Interfaces:
OrderStatusGenerator
public class FxMotifStatusGenerator extends java.lang.Object implements OrderStatusGenerator
AnOrderStatusGenerator
that supplies default statuses for the FxMotif.
-
-
Constructor Summary
Constructors Constructor Description FxMotifStatusGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAllowedActionsFailStatus(AllowedAction allowedAction)
java.lang.String
getStatus(com.caplin.ret.trapi.fx.FXOrder order)
Maps the status of FXOrder to the status displayed that will be displayed in the blotter.
-
-
-
Method Detail
-
getStatus
public java.lang.String getStatus(com.caplin.ret.trapi.fx.FXOrder order)
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
public java.lang.String getAllowedActionsFailStatus(AllowedAction allowedAction)
- Specified by:
getAllowedActionsFailStatus
in interfaceOrderStatusGenerator
-
-