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)
ProgramRunner
prepareForRun
in interface ProgramRunner
public com.google.common.collect.ImmutableList<String> enhanceCommandLine(com.google.common.collect.ImmutableList<String> commandLine)
ProgramRunner
enhanceCommandLine
in interface ProgramRunner
public com.google.common.collect.ImmutableList<String> enhanceCommandLineForDescription(com.google.common.collect.ImmutableList<String> commandLine)
ProgramRunner
ProgramRunner.prepareForRun(com.facebook.buck.io.filesystem.ProjectFilesystem, java.nio.file.Path)
was called.enhanceCommandLineForDescription
in interface ProgramRunner