Modifier and Type | Field and Description |
---|---|
static String |
SHORT_NAME |
Constructor and Description |
---|
ConcatStep(ProjectFilesystem filesystem,
com.google.common.collect.ImmutableList.Builder<Path> inputsBuilder,
Path outputPath)
Use this constructor if the files to concatenate are not known at the time of step creation.
|
ConcatStep(ProjectFilesystem filesystem,
com.google.common.collect.ImmutableList<Path> inputs,
Path outputPath)
Use this constructor if the files to concatenate are known at the time of step creation.
|
Modifier and Type | Method and Description |
---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public static final String SHORT_NAME
public ConcatStep(ProjectFilesystem filesystem, com.google.common.collect.ImmutableList<Path> inputs, Path outputPath)
inputs
- The files to be concatenatedoutputPath
- The desired output path.public ConcatStep(ProjectFilesystem filesystem, com.google.common.collect.ImmutableList.Builder<Path> inputsBuilder, Path outputPath)
inputsBuilder
- The files to be concatenated, in builder formoutputPath
- The desired output path.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