public abstract class RuleAnalysisKey extends Object implements ComputeKey<RuleAnalysisResult>
TargetGraph to
its corresponding Providers and ActionAnalysisData.
This key will be used to indicate which rule's analysis we are currently interested in.
| Modifier and Type | Field and Description |
|---|---|
static ComputationIdentifier<RuleAnalysisResult> |
IDENTIFIER |
| Constructor and Description |
|---|
RuleAnalysisKey() |
| Modifier and Type | Method and Description |
|---|---|
abstract BuildTarget |
getBuildTarget()
TODO(bobyf) this really should be a ConfiguredBuildTarget
|
ComputationIdentifier<RuleAnalysisResult> |
getIdentifier() |
static RuleAnalysisKey |
of(BuildTarget buildTarget) |
public static final ComputationIdentifier<RuleAnalysisResult> IDENTIFIER
public abstract BuildTarget getBuildTarget()
BuildTarget of this keypublic ComputationIdentifier<RuleAnalysisResult> getIdentifier()
getIdentifier in interface ComputeKey<RuleAnalysisResult>ComputationIdentifier to the same GraphComputation.public static RuleAnalysisKey of(BuildTarget buildTarget)