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 Step
public String getDescription(ExecutionContext context)
getDescription
in interface Step
public StepExecutionResult execute(ExecutionContext context) throws IOException
execute
in interface Step
IOException
public static SymlinkFileStep of(ProjectFilesystem filesystem, Path existingFile, Path desiredLink)