Package com.io7m.coffeepick.api
Interface CoffeePickVerificationType
- All Known Implementing Classes:
CoffeePickVerification
@Immutable
public interface CoffeePickVerificationType
A value indicating whether or not the verification of an inventory item succeeded.
-
Method Summary
Modifier and Type Method Description RuntimeHash
expectedHash()
default boolean
isVerified()
RuntimeHash
receivedHash()
-
Method Details
-
expectedHash
RuntimeHash expectedHash()- Returns:
- The expected hash value
-
receivedHash
RuntimeHash receivedHash()- Returns:
- The received hash value
-
isVerified
default boolean isVerified()- Returns:
true
if the expected hash matched the received hash
-