public final class DefaultDependencyFileRuleKeyFactory extends Object implements DependencyFileRuleKeyFactory
RuleKeys.DependencyFileRuleKeyFactory.RuleKeyAndInputs| Constructor and Description |
|---|
DefaultDependencyFileRuleKeyFactory(RuleKeyFieldLoader ruleKeyFieldLoader,
FileHashLoader hashLoader,
SourcePathRuleFinder ruleFinder) |
DefaultDependencyFileRuleKeyFactory(RuleKeyFieldLoader ruleKeyFieldLoader,
FileHashLoader hashLoader,
SourcePathRuleFinder ruleFinder,
Optional<ThriftRuleKeyLogger> ruleKeyLogger) |
| Modifier and Type | Method and Description |
|---|---|
DependencyFileRuleKeyFactory.RuleKeyAndInputs |
build(SupportsDependencyFileRuleKey rule,
com.google.common.collect.ImmutableList<DependencyFileEntry> depFileEntries) |
DependencyFileRuleKeyFactory.RuleKeyAndInputs |
buildManifestKey(SupportsDependencyFileRuleKey rule) |
public DefaultDependencyFileRuleKeyFactory(RuleKeyFieldLoader ruleKeyFieldLoader, FileHashLoader hashLoader, SourcePathRuleFinder ruleFinder, Optional<ThriftRuleKeyLogger> ruleKeyLogger)
public DefaultDependencyFileRuleKeyFactory(RuleKeyFieldLoader ruleKeyFieldLoader, FileHashLoader hashLoader, SourcePathRuleFinder ruleFinder)
public DependencyFileRuleKeyFactory.RuleKeyAndInputs build(SupportsDependencyFileRuleKey rule, com.google.common.collect.ImmutableList<DependencyFileEntry> depFileEntries) throws IOException
build in interface DependencyFileRuleKeyFactoryRuleKey for the given BuildRule using the given list of explicit
inputs and an ImmutableSet of the members of possibleDepFileSourcePaths
that were actually used in constructing the key.IOExceptionpublic DependencyFileRuleKeyFactory.RuleKeyAndInputs buildManifestKey(SupportsDependencyFileRuleKey rule) throws IOException
buildManifestKey in interface DependencyFileRuleKeyFactoryRuleKey used to index the manifest database and the list of inputs that
should appear in the manifest (i.e., those that appeared in the dependency file, because
all other inputs would be accounted for in the manifest key itself).IOException