public class DirectProgramRunner extends Object implements ProgramRunner
ProgramRunner that do not change the execution of a program.| Constructor and Description |
|---|
DirectProgramRunner() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<String> |
enhanceCommandLine(com.google.common.collect.ImmutableList<String> commandLine)
Change program command line with arguments specific to these parameters.
|
com.google.common.collect.ImmutableList<String> |
enhanceCommandLineForDescription(com.google.common.collect.ImmutableList<String> commandLine)
Change program command line with arguments specific to these parameters.
|
void |
prepareForRun(ProjectFilesystem projectFilesystem,
Path programPath)
Initialization that needs to be performed before execution.
|
public void prepareForRun(ProjectFilesystem projectFilesystem, Path programPath)
ProgramRunnerprepareForRun in interface ProgramRunnerpublic com.google.common.collect.ImmutableList<String> enhanceCommandLine(com.google.common.collect.ImmutableList<String> commandLine)
ProgramRunnerenhanceCommandLine in interface ProgramRunnerpublic com.google.common.collect.ImmutableList<String> enhanceCommandLineForDescription(com.google.common.collect.ImmutableList<String> commandLine)
ProgramRunnerProgramRunner.prepareForRun(com.facebook.buck.io.filesystem.ProjectFilesystem, java.nio.file.Path) was called.enhanceCommandLineForDescription in interface ProgramRunner