public abstract class SandboxConfig extends Object implements ConfigView<BuckConfig>
Constructor and Description |
---|
SandboxConfig() |
Modifier and Type | Method and Description |
---|---|
abstract BuckConfig |
getDelegate() |
boolean |
isDarwinSandboxEnabled()
Whether sandboxing is enabled on Darwin (OS X).
|
boolean |
isGenruleSandboxEnabled()
Whether `genrule` should use sandboxing.
|
boolean |
isSandboxEnabledForCurrentPlatform()
Whether sandboxing is enabled on the current platform.
|
static SandboxConfig |
of(BuckConfig delegate) |
public abstract BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>
public static SandboxConfig of(BuckConfig delegate)
@Value.Lazy public boolean isGenruleSandboxEnabled()
`genrule` sandboxing can be enabled or disabled for particular targets using enable_sandbox
parameter.
@Value.Lazy public boolean isDarwinSandboxEnabled()
@Value.Lazy public boolean isSandboxEnabledForCurrentPlatform()