public class GuavaRuleKeyHasher extends Object implements RuleKeyHasher<com.google.common.hash.HashCode>
RuleKeyHasher that wraps Guava's Hasher.RuleKeyHasher.Container, RuleKeyHasher.Wrapper| Constructor and Description |
|---|
GuavaRuleKeyHasher(com.google.common.hash.Hasher hasher) |
public GuavaRuleKeyHasher(com.google.common.hash.Hasher hasher)
public GuavaRuleKeyHasher putKey(String key)
RuleKeyHasherputKey in interface RuleKeyHasher<com.google.common.hash.HashCode>public RuleKeyHasher<com.google.common.hash.HashCode> putKeyPath(Path key)
RuleKeyHasherputKeyPath in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putNull()
RuleKeyHasherputNull in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putCharacter(char val)
putCharacter in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putBoolean(boolean val)
putBoolean in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putNumber(Number val)
putNumber in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putString(String val)
putString in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putBytes(byte[] bytes)
putBytes in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putPattern(Pattern pattern)
putPattern in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putSha1(Sha1HashCode sha1)
RuleKeyHasherputSha1 in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putPath(Path path, com.google.common.hash.HashCode hash)
putPath in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putArchiveMemberPath(Path relativeArchivePath, Path archiveMemberPath, com.google.common.hash.HashCode hash)
putArchiveMemberPath in interface RuleKeyHasher<com.google.common.hash.HashCode>relativeArchivePath - relative path to archive.archiveMemberPath - path to archive member.public GuavaRuleKeyHasher putNonHashingPath(Path path)
putNonHashingPath in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putRuleKey(RuleKey ruleKey)
putRuleKey in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putRuleType(RuleType ruleType)
putRuleType in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putBuildTarget(BuildTarget buildTarget)
putBuildTarget in interface RuleKeyHasher<com.google.common.hash.HashCode>public RuleKeyHasher<com.google.common.hash.HashCode> putBuildTargetSourcePath(BuildTargetSourcePath targetSourcePath)
putBuildTargetSourcePath in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putContainer(RuleKeyHasher.Container container, int length)
RuleKeyHasherputContainer in interface RuleKeyHasher<com.google.common.hash.HashCode>public GuavaRuleKeyHasher putWrapper(RuleKeyHasher.Wrapper wrapper)
putWrapper in interface RuleKeyHasher<com.google.common.hash.HashCode>public com.google.common.hash.HashCode hash()
RuleKeyHasherhash in interface RuleKeyHasher<com.google.common.hash.HashCode>