public class PythonSymlinkTree extends SymlinkTree
category, root, type| Constructor and Description |
|---|
PythonSymlinkTree(String category,
BuildTarget target,
ProjectFilesystem filesystem,
Path root,
com.google.common.collect.ImmutableMap<Path,SourcePath> links,
com.google.common.collect.ImmutableSortedSet<SourcePath> directoriesToMerge,
SourcePathRuleFinder ruleFinder)
Creates an instance of
SymlinkTree |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
shouldDeleteExistingSymlink(ProjectFilesystem projectFilesystem,
Path existingTarget) |
getBuildDeps, getBuildSteps, getResolvedSymlinks, getRoot, getRootSourcePath, getRuntimeDeps, getSourcePathToOutput, getType, getVerifyStep, isCacheable, resolveDuplicateRelativePathsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitinputBasedRuleKeyIsEnabled, isSupportedcompareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputspublic PythonSymlinkTree(String category, BuildTarget target, ProjectFilesystem filesystem, Path root, com.google.common.collect.ImmutableMap<Path,SourcePath> links, com.google.common.collect.ImmutableSortedSet<SourcePath> directoriesToMerge, SourcePathRuleFinder ruleFinder)
SymlinkTreecategory - A name used in the symlink stepstarget - The target for this rulefilesystem - The filesystem that the tree lives onroot - The directory to create symlinks inlinks - A map of path within the link tree to the target of the symlikmdirectoriesToMerge - A map of relative paths within the link tree into which files from
the value will be recursively linked. e.g. if a file at /tmp/foo/bar should be linked as
/tmp/symlink-root/subdir/bar, the map should contain {Paths.get("subdir"),
SourcePath(Paths.get("tmp", "foo")) }ruleFinder - Used to iterate over directoriesToMerge in order get the build timeprotected boolean shouldDeleteExistingSymlink(ProjectFilesystem projectFilesystem, Path existingTarget)
shouldDeleteExistingSymlink in class SymlinkTree