public class DarwinSandboxExecutionStrategy extends Object implements SandboxExecutionStrategy
SandboxExecutionStrategy
for OS X sandbox.Constructor and Description |
---|
DarwinSandboxExecutionStrategy(ProcessExecutor processExecutor,
SandboxConfig sandboxConfig) |
Modifier and Type | Method and Description |
---|---|
ProgramRunner |
createSandboxProgramRunner(SandboxProperties sandboxProperties)
Creates a new
ProgramRunner to run a specific program in a sandbox. |
boolean |
isSandboxEnabled() |
public DarwinSandboxExecutionStrategy(ProcessExecutor processExecutor, SandboxConfig sandboxConfig)
public boolean isSandboxEnabled()
isSandboxEnabled
in interface SandboxExecutionStrategy
public ProgramRunner createSandboxProgramRunner(SandboxProperties sandboxProperties)
SandboxExecutionStrategy
ProgramRunner
to run a specific program in a sandbox.createSandboxProgramRunner
in interface SandboxExecutionStrategy
sandboxProperties
- describes the particular execution of a sandboxed processes.