Class ESPValidator
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.submission.esp.ESPValidator
- All Implemented Interfaces:
com.caplin.motif.fx.trading.validator.TradeValidator
public class ESPValidator
extends Object
implements com.caplin.motif.fx.trading.validator.TradeValidator
Ensures a one click (ESP) trade contains valid data.
Use this class to validate trade messages as they are submitted. It will be used by the FX Integration framework to stop processing badly formed trade messages.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ESPValidator
public ESPValidator()
-
-
Method Details
-
validate
public void validate(com.caplin.trading.Trade trade) throws com.caplin.motif.fx.trading.validator.ValidationException - Specified by:
validate
in interfacecom.caplin.motif.fx.trading.validator.TradeValidator
- Throws:
com.caplin.motif.fx.trading.validator.ValidationException
-