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
ProgramRunner
prepareForRun
in interface ProgramRunner
IOException
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