Package com.facebook.buck.sandbox.darwin
Class DarwinSandboxProgramRunner
- java.lang.Object
-
- com.facebook.buck.sandbox.darwin.DarwinSandboxProgramRunner
-
- All Implemented Interfaces:
ProgramRunner
public class DarwinSandboxProgramRunner extends Object implements ProgramRunner
ProgramRunner
that runs a program in an OS X sandbox.
-
-
Constructor Summary
Constructors Constructor Description DarwinSandboxProgramRunner(SandboxProperties sandboxProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
DarwinSandboxProgramRunner
public DarwinSandboxProgramRunner(SandboxProperties sandboxProperties)
-
-
Method Detail
-
prepareForRun
public void prepareForRun(ProjectFilesystem projectFilesystem, Path programPath) throws IOException
Description copied from interface:ProgramRunner
Initialization that needs to be performed before execution.- Specified by:
prepareForRun
in interfaceProgramRunner
- Throws:
IOException
-
enhanceCommandLine
public com.google.common.collect.ImmutableList<String> enhanceCommandLine(com.google.common.collect.ImmutableList<String> commandLine)
Description copied from interface:ProgramRunner
Change program command line with arguments specific to these parameters.- Specified by:
enhanceCommandLine
in interfaceProgramRunner
-
enhanceCommandLineForDescription
public com.google.common.collect.ImmutableList<String> enhanceCommandLineForDescription(com.google.common.collect.ImmutableList<String> commandLine)
Description copied from interface:ProgramRunner
Change program command line with arguments specific to these parameters. This is primarily used to construct new command line beforeProgramRunner.prepareForRun(com.facebook.buck.io.filesystem.ProjectFilesystem, java.nio.file.Path)
was called.- Specified by:
enhanceCommandLineForDescription
in interfaceProgramRunner
-
-