public class RemoteFile extends AbstractBuildRuleWithDeclaredAndExtraDeps
buck fetch
before executing the
build.Modifier and Type | Class and Description |
---|---|
static class |
RemoteFile.Type
Defines how the remote file should be treated when downloaded.
|
Constructor and Description |
---|
RemoteFile(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 |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
SourcePath |
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, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
public RemoteFile(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, Downloader downloader, URI uri, com.google.common.hash.HashCode sha1, String out, RemoteFile.Type type)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public SourcePath getSourcePathToOutput()