Package net.sourceforge.pmd.cache
Interface ChecksumAware
-
- All Known Implementing Classes:
RuleSet
public interface ChecksumAware
Interface defining an object that has a checksum The checksum is a fingerprint of the object's configuration, and *MUST* change if anything changed on the object. It differs from ahashCode()
in that ahashCode()
may not take all fields into account, but a checksum must do so.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getChecksum()
Retrieves the current instance checksum
-