public interface SupportsInputBasedRuleKey extends BuildRule
BuildRules implementing this interface will cause rule key to be computed by
enumerating their dependencies implicitly through their inputs, which are described by SourcePaths added to their RuleKey.
Input-based rule keys are generally more accurate than normal rule keys, as they won't necessarily change if the rule key of a dependency changed. Instead, they only change if a the actual inputs to the rule change.
InputBasedRuleKeyFactory| Modifier and Type | Method and Description |
|---|---|
default boolean |
inputBasedRuleKeyIsEnabled() |
static boolean |
isSupported(BuildRule rule) |
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypedefault boolean inputBasedRuleKeyIsEnabled()
static boolean isSupported(BuildRule rule)