| Constructor and Description |
|---|
SymlinkFileStep() |
| Modifier and Type | Method and Description |
|---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
protected abstract Path |
getDesiredLink() |
protected abstract Path |
getExistingFile() |
protected abstract ProjectFilesystem |
getFilesystem() |
String |
getShortName() |
static SymlinkFileStep |
of(ProjectFilesystem filesystem,
Path existingFile,
Path desiredLink) |
protected abstract ProjectFilesystem getFilesystem()
protected abstract Path getExistingFile()
protected abstract Path getDesiredLink()
public String getShortName()
getShortName in interface Steppublic String getDescription(ExecutionContext context)
getDescription in interface Steppublic StepExecutionResult execute(ExecutionContext context) throws IOException
execute in interface StepIOExceptionpublic static SymlinkFileStep of(ProjectFilesystem filesystem, Path existingFile, Path desiredLink)