Package com.facebook.buck.rules.keys
Interface DependencyFileRuleKeyFactory
-
- All Known Implementing Classes:
DefaultDependencyFileRuleKeyFactory
public interface DependencyFileRuleKeyFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DependencyFileRuleKeyFactory.RuleKeyAndInputs
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DependencyFileRuleKeyFactory.RuleKeyAndInputs
build(SupportsDependencyFileRuleKey rule, com.google.common.collect.ImmutableList<DependencyFileEntry> inputs)
DependencyFileRuleKeyFactory.RuleKeyAndInputs
buildManifestKey(SupportsDependencyFileRuleKey rule)
-
-
-
Method Detail
-
build
DependencyFileRuleKeyFactory.RuleKeyAndInputs build(SupportsDependencyFileRuleKey rule, com.google.common.collect.ImmutableList<DependencyFileEntry> inputs) throws IOException
- Returns:
- a
RuleKey
for the givenBuildRule
using the given list of explicitinputs
and anImmutableSet
of the members of possibleDepFileSourcePaths that were actually used in constructing the key. - Throws:
IOException
-
buildManifestKey
DependencyFileRuleKeyFactory.RuleKeyAndInputs buildManifestKey(SupportsDependencyFileRuleKey rule) throws IOException
- Returns:
- the
RuleKey
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). - Throws:
IOException
-
-