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, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic 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()