Package com.pkgrove.pkgrovekit.storage
Class GetOptions
-
- All Implemented Interfaces:
public final class GetOptions
-
-
Field Summary
Fields Modifier and Type Field Description private final LongRangerangeprivate final BooleanverifyChecksumprivate final ChecksumexpectedChecksum
-
Constructor Summary
Constructors Constructor Description GetOptions(LongRange range, Boolean verifyChecksum, Checksum expectedChecksum)
-
Method Summary
Modifier and Type Method Description final LongRangegetRange()Inclusive byte range, e.g. final BooleangetVerifyChecksum()Verify against the object's STORED checksum when one exists. final ChecksumgetExpectedChecksum()Verify against THIS checksum (takes precedence over the stored one). -
-
Method Detail
-
getVerifyChecksum
final Boolean getVerifyChecksum()
Verify against the object's STORED checksum when one exists.
-
getExpectedChecksum
final Checksum getExpectedChecksum()
Verify against THIS checksum (takes precedence over the stored one).
-
-
-
-