public class BuildExecutor extends Object
Constructor and Description |
---|
BuildExecutor(BuildExecutorArgs args,
ExecutionContext executionContext,
ActionGraphAndBuilder actionGraphAndBuilder,
CachingBuildEngineDelegate cachingBuildEngineDelegate,
WeightedListeningExecutorService executorService,
boolean keepGoing,
RuleKeyCacheScope<RuleKey> ruleKeyRuleKeyCacheScope,
Optional<BuildType> buildEngineMode,
Optional<ThriftRuleKeyLogger> ruleKeyLogger,
MetadataProvider metadataProvider,
TargetConfigurationSerializer targetConfigurationSerializer,
boolean remoteExecutionAutoEnabled,
boolean forceDisableRemoteExecution) |
Modifier and Type | Method and Description |
---|---|
ExitCode |
buildTargets(Iterable<BuildTarget> targetsToBuild,
Optional<Path> pathToBuildReport)
Builds the given targets synchronously.
|
Build |
getBuild() |
CachingBuildEngine |
getCachingBuildEngine() |
void |
shutdown()
Destroy any resources associated with this builder.
|
public BuildExecutor(BuildExecutorArgs args, ExecutionContext executionContext, ActionGraphAndBuilder actionGraphAndBuilder, CachingBuildEngineDelegate cachingBuildEngineDelegate, WeightedListeningExecutorService executorService, boolean keepGoing, RuleKeyCacheScope<RuleKey> ruleKeyRuleKeyCacheScope, Optional<BuildType> buildEngineMode, Optional<ThriftRuleKeyLogger> ruleKeyLogger, MetadataProvider metadataProvider, TargetConfigurationSerializer targetConfigurationSerializer, boolean remoteExecutionAutoEnabled, boolean forceDisableRemoteExecution)
public ExitCode buildTargets(Iterable<BuildTarget> targetsToBuild, Optional<Path> pathToBuildReport) throws Exception
targetsToBuild
- Exception
public CachingBuildEngine getCachingBuildEngine()
public void shutdown()
public Build getBuild()