public class RuleAnalysisLegacyBinaryBuildRuleView extends RuleAnalysisLegacyBuildRuleView implements BinaryBuildRule
RuleAnalysisLegacyBuildRuleView, but also implements BinaryBuildRule so that
this rule can be executable (with buck run, in the legacy graph, etc)| Constructor and Description |
|---|
RuleAnalysisLegacyBinaryBuildRuleView(String type,
BuildTarget buildTarget,
Optional<Action> action,
BuildRuleResolver ruleResolver,
ProjectFilesystem projectFilesystem,
ProviderInfoCollection providerInfoCollection)
Create an instance of
RuleAnalysisLegacyBinaryBuildRuleView |
| Modifier and Type | Method and Description |
|---|---|
Tool |
getExecutableCommand(OutputLabel outputLabel)
Command to execute the output of this rule.
|
getBuildDeps, getBuildSteps, getOutputLabels, getProviderInfos, getSourcePathToOutput, getSourcePathToOutput, getType, isCacheable, updateBuildRuleResolverequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypeinputBasedRuleKeyIsEnabled, isSupportedpublic RuleAnalysisLegacyBinaryBuildRuleView(String type, BuildTarget buildTarget, Optional<Action> action, BuildRuleResolver ruleResolver, ProjectFilesystem projectFilesystem, ProviderInfoCollection providerInfoCollection)
RuleAnalysisLegacyBinaryBuildRuleViewtype - the type of this BuildRulebuildTarget - the BuildTarget of this analysis ruleaction - the action of the result for which we want to provide the BuildRule viewruleResolver - the current BuildRuleResolver to query dependent rulesprojectFilesystem - the filesystemproviderInfoCollection - the providers returned by this build targetIllegalStateException - if providerInfoCollection does not contain an instance of
RunInfopublic Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRulegetExecutableCommand in interface BinaryBuildRuleoutputLabel - associated with the executable