Interface VerifyLog
-
public interface VerifyLogThe 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.voidlog(java.lang.String message)Logs a message.default voidverify(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 conditionmessage- the message to write ifconditionisfalse.args- arguments for formattingmessageusingString.format
-
-