public class HttpFileBinary extends HttpFile implements BinaryBuildRule
HttpFile
, which means that it can be invoked using buck
run
.Constructor and Description |
---|
HttpFileBinary(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
Downloader downloader,
com.google.common.collect.ImmutableList<URI> uris,
com.google.common.hash.HashCode sha256,
String out) |
Modifier and Type | Method and Description |
---|---|
Tool |
getExecutableCommand(OutputLabel outputLabel)
Command to execute the output of this rule.
|
getBuildSteps, getSourcePathToOutput
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public HttpFileBinary(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, Downloader downloader, com.google.common.collect.ImmutableList<URI> uris, com.google.common.hash.HashCode sha256, String out)
public Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRule
getExecutableCommand
in interface BinaryBuildRule
outputLabel
- associated with the executable