public class RemoteFileBinary extends RemoteFile implements BinaryBuildRule
RemoteFile
, which means that it can be invoked using buck
run
.RemoteFile.Type
Constructor and Description |
---|
RemoteFileBinary(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
Downloader downloader,
URI uri,
com.google.common.hash.HashCode sha1,
String out,
RemoteFile.Type type) |
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 RemoteFileBinary(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, Downloader downloader, URI uri, com.google.common.hash.HashCode sha1, String out, RemoteFile.Type type)
public Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRule
getExecutableCommand
in interface BinaryBuildRule
outputLabel
- associated with the executable