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 SourcePath s 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)
Symlinks
consumer
on all SourcePath
s in this groups of links. Used by SymlinkTree
to compose runtime deps.forEachSymlinkInput
in interface Symlinks
public SymlinkPaths resolveSymlinkPaths(SourcePathResolverAdapter resolver)
Symlinks
resolveSymlinkPaths
in interface Symlinks
public void forEachSymlinkBuildDep(SourcePathRuleFinder finder, java.util.function.Consumer<BuildRule> consumer)
Symlinks
consumer
on all BuildRule
build dependencies for this group of symlinks.forEachSymlinkBuildDep
in interface Symlinks