public class ContentAgnosticRuleKeyFactory extends Object implements RuleKeyFactory<RuleKey>
RuleKeys that only take into the account the path of a file and
not the contents(hash) of the file.| Modifier and Type | Class and Description |
|---|---|
class |
ContentAgnosticRuleKeyFactory.Builder<RULE_KEY> |
| Constructor and Description |
|---|
ContentAgnosticRuleKeyFactory(RuleKeyFieldLoader ruleKeyFieldLoader,
SourcePathRuleFinder ruleFinder,
Optional<ThriftRuleKeyLogger> ruleKeyLogger) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
build(BuildEngineAction action)
Creates a new
RULE_KEY for the given BuildEngineAction. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFromCache, getInputSizeLimitpublic ContentAgnosticRuleKeyFactory(RuleKeyFieldLoader ruleKeyFieldLoader, SourcePathRuleFinder ruleFinder, Optional<ThriftRuleKeyLogger> ruleKeyLogger)
public RuleKey build(BuildEngineAction action)
RuleKeyFactoryRULE_KEY for the given BuildEngineAction. In most cases RULE_KEY is going to be RuleKey, but it can be anything really.build in interface RuleKeyFactory<RuleKey>action - The build rule to create the key for.