Class Result.ValueProcessor

    • Constructor Summary

      Constructors 
      Constructor Description
      ValueProcessor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ifSucceededDo​(java.util.function.BiConsumer<T,​java.util.List<I>> valueConsumer)
      Give conditional access to the content and the issues.
      void ifSucceededDo​(java.util.function.Consumer<T> valueConsumer)
      Give conditional access to the content.
      • Methods inherited from class java.lang.Object

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

      • ValueProcessor

        public ValueProcessor()
    • Method Detail

      • ifSucceededDo

        public void ifSucceededDo​(java.util.function.Consumer<T> valueConsumer)
        Give conditional access to the content.
        Parameters:
        valueConsumer - Consumer to process the content.
      • ifSucceededDo

        public void ifSucceededDo​(java.util.function.BiConsumer<T,​java.util.List<I>> valueConsumer)
        Give conditional access to the content and the issues.
        Parameters:
        valueConsumer - BiConsumer to process both the content and the issues.