public class SymlinkDir extends Object implements Symlinks
Symlinks
modeling a directory whose sub-paths should all be symlinked.Constructor and Description |
---|
SymlinkDir(SourcePath directory) |
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 SymlinkDir(SourcePath directory)
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