public class SymlinkMap extends Object implements Symlinks
| Constructor and Description |
|---|
SymlinkMap(com.google.common.collect.ImmutableMap<Path,SourcePath> 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 SymlinkMap(com.google.common.collect.ImmutableMap<Path,SourcePath> 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