public class SymlinkPack extends Object implements Symlinks
Symlinks and present them as a single Symlinks.
This abstraction allows descriptions to: 1) avoid expensive symlink map merging into a
monolithic SymlinkMap and 2) combine links from otherwise incompatible SymlinkMap
and SymlinkDir groups.
| Constructor and Description |
|---|
SymlinkPack(com.google.common.collect.ImmutableList<Symlinks> links) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachSymlinkBuildDep(SourcePathRuleFinder finder,
java.util.function.Consumer<BuildRule> consumer)
Run
consumer on all BuildRule build dependencies for this group of symlinks. |
void |
forEachSymlinkInput(java.util.function.Consumer<SourcePath> consumer)
Run
consumer on all SourcePaths in this groups of links. |
SymlinkPaths |
resolveSymlinkPaths(SourcePathResolverAdapter resolver)
|
public SymlinkPack(com.google.common.collect.ImmutableList<Symlinks> links)
public void forEachSymlinkInput(java.util.function.Consumer<SourcePath> consumer)
Symlinksconsumer on all SourcePaths in this groups of links. Used by SymlinkTree to compose runtime deps.forEachSymlinkInput in interface Symlinkspublic SymlinkPaths resolveSymlinkPaths(SourcePathResolverAdapter resolver)
SymlinksresolveSymlinkPaths in interface Symlinkspublic void forEachSymlinkBuildDep(SourcePathRuleFinder finder, java.util.function.Consumer<BuildRule> consumer)
Symlinksconsumer on all BuildRule build dependencies for this group of symlinks.forEachSymlinkBuildDep in interface Symlinks