Interface IValidationResult

    • Method Detail

      • isValid

        boolean isValid()
      • ifValid

        default <E extends java.lang.Exception> IValidationResult ifValid​(IBlock<E> block)
                                                                   throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • otherwise

        default <E extends java.lang.Exception> IValidationResult otherwise​(IConsumer<java.lang.String,​E> consumer)
                                                                     throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • getMessage

        java.lang.String getMessage()