public class SymlinkFilesIntoDirectoryStep extends AbstractExecutionStep
Step that takes a collection of entries in a directory and creates a set of read-only
symlinks (with the same structure) to the original entries in a new directory.| Constructor and Description |
|---|
SymlinkFilesIntoDirectoryStep(ProjectFilesystem filesystem,
Path srcDir,
Iterable<Path> entries,
Path outDir) |
| Modifier and Type | Method and Description |
|---|---|
StepExecutionResult |
execute(ExecutionContext context) |
getDescription, getShortNamepublic SymlinkFilesIntoDirectoryStep(ProjectFilesystem filesystem, Path srcDir, Iterable<Path> entries, Path outDir)
srcDir - relative to the project root that contains the entries.entries - that exist in srcDir.outDir - relative to the project root where the symlinks will be created.public StepExecutionResult execute(ExecutionContext context) throws IOException
execute in interface Stepexecute in class AbstractExecutionStepIOException