public class DefaultBuckModuleHashStrategy extends Object implements BuckModuleHashStrategy
Constructor and Description |
---|
DefaultBuckModuleHashStrategy(BuckModuleManager buckModuleManager) |
Modifier and Type | Method and Description |
---|---|
String |
getModuleHash(Class<?> cls) |
boolean |
needToAddModuleHashToRuleKey(Class<?> cls) |
public DefaultBuckModuleHashStrategy(BuckModuleManager buckModuleManager)
public boolean needToAddModuleHashToRuleKey(Class<?> cls)
needToAddModuleHashToRuleKey
in interface BuckModuleHashStrategy
true
if the hash of a module that contains cls
should be
added to a rule key.public String getModuleHash(Class<?> cls)
getModuleHash
in interface BuckModuleHashStrategy
cls