public class DefaultRuleDepsCache extends Object implements RuleDepsCache
Constructor and Description |
---|
DefaultRuleDepsCache(BuildRuleResolver resolver,
BuildEngineActionToBuildRuleResolver actionToBuildRuleResolver) |
Modifier and Type | Method and Description |
---|---|
SortedSet<BuildEngineAction> |
get(BuildEngineAction buildEngineAction) |
SortedSet<BuildRule> |
get(BuildRule rule) |
SortedSet<BuildEngineAction> |
getRuntimeDeps(BuildEngineAction buildEngineAction) |
SortedSet<BuildRule> |
getRuntimeDeps(BuildRule rule) |
public DefaultRuleDepsCache(BuildRuleResolver resolver, BuildEngineActionToBuildRuleResolver actionToBuildRuleResolver)
public SortedSet<BuildRule> get(BuildRule rule)
get
in interface RuleDepsCache
public SortedSet<BuildRule> getRuntimeDeps(BuildRule rule)
getRuntimeDeps
in interface RuleDepsCache
public SortedSet<BuildEngineAction> get(BuildEngineAction buildEngineAction)
get
in interface RuleDepsCache
buildEngineAction
- an action for the build engine that we want the deps forpublic SortedSet<BuildEngineAction> getRuntimeDeps(BuildEngineAction buildEngineAction)
getRuntimeDeps
in interface RuleDepsCache
buildEngineAction
- an action for the build engine that we want the deps for