Interface VerifyLog


  • public interface VerifyLog
    The verify log contains verification messages. It is used to capture validation issues with a zip file or with parts of a zip file.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableList<java.lang.String> getLogs()
      Obtains all save logged messages.
      void log​(java.lang.String message)
      Logs a message.
      default void verify​(boolean condition, java.lang.String message, java.lang.Object... args)
      Performs verification of a non-critical condition, logging a message if the condition is not verified.
    • Method Detail

      • log

        void log​(java.lang.String message)
        Logs a message.
        Parameters:
        message - the message to verify
      • getLogs

        com.google.common.collect.ImmutableList<java.lang.String> getLogs()
        Obtains all save logged messages.
        Returns:
        the logged messages
      • verify

        default void verify​(boolean condition,
                            java.lang.String message,
                            java.lang.Object... args)
        Performs verification of a non-critical condition, logging a message if the condition is not verified.
        Parameters:
        condition - the condition
        message - the message to write if condition is false.
        args - arguments for formatting message using String.format