Class ESPValidator

  • All Implemented Interfaces:
    com.caplin.motif.fx.trading.validator.TradeValidator

    public class ESPValidator
    extends java.lang.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 
      Constructor Description
      ESPValidator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(com.caplin.trading.Trade trade)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ESPValidator

        public ESPValidator()
    • Method Detail

      • validate

        public void validate​(com.caplin.trading.Trade trade)
                      throws com.caplin.motif.fx.trading.validator.ValidationException
        Specified by:
        validate in interface com.caplin.motif.fx.trading.validator.TradeValidator
        Throws:
        com.caplin.motif.fx.trading.validator.ValidationException