public class DarwinSandboxProgramRunner extends Object implements ProgramRunner
ProgramRunner that runs a program in an OS X sandbox.| Constructor and Description |
|---|
DarwinSandboxProgramRunner(SandboxProperties sandboxProperties) |
| 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 DarwinSandboxProgramRunner(SandboxProperties sandboxProperties)
public void prepareForRun(ProjectFilesystem projectFilesystem, Path programPath) throws IOException
ProgramRunnerprepareForRun in interface ProgramRunnerIOExceptionpublic 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