Constructor and Description |
---|
WriteFileStep(ProjectFilesystem filesystem,
com.google.common.io.ByteSource content,
Path outputPath,
boolean executable) |
WriteFileStep(ProjectFilesystem filesystem,
String content,
Path outputPath,
boolean executable) |
WriteFileStep(ProjectFilesystem filesystem,
java.util.function.Supplier<String> content,
Path outputPath,
boolean executable) |
Modifier and Type | Method and Description |
---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public WriteFileStep(ProjectFilesystem filesystem, com.google.common.io.ByteSource content, Path outputPath, boolean executable)
public WriteFileStep(ProjectFilesystem filesystem, String content, Path outputPath, boolean executable)
public WriteFileStep(ProjectFilesystem filesystem, java.util.function.Supplier<String> content, Path outputPath, boolean executable)
public StepExecutionResult execute(ExecutionContext context) throws IOException
execute
in interface Step
IOException
public String getShortName()
getShortName
in interface Step
public String getDescription(ExecutionContext context)
getDescription
in interface Step