类 TradeProcessor

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      Tradeprocess​(Trade item)
      Process the provided item, returning a potentially modified or new item for continued processing.
      voidsetValidationFailure​(int failure)
      Public setter for the the index on which failure should occur.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • setValidationFailure

        public void setValidationFailure​(int failure)
        Public setter for the the index on which failure should occur.
        参数:
        failure - the failure to set
      • process

        public Trade process​(Trade item)
                      throws java.lang.Exception
        从接口复制的说明: ItemProcessor
        Process the provided item, returning a potentially modified or new item for continued processing. If the returned result is null, it is assumed that processing of the item should not continue.
        指定者:
        process 在接口中 ItemProcessor<Trade,​Trade>
        参数:
        item - to be processed
        返回:
        potentially modified or new item for continued processing, null if processing of the provided item should not continue.
        抛出:
        java.lang.Exception - thrown if exception occurs during processing.