public static class CachingBuildEngine.DefaultBuildRuleBuilderDelegate extends Object implements com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder.BuildRuleBuilderDelegate
Constructor and Description |
---|
DefaultBuildRuleBuilderDelegate(CachingBuildEngine cachingBuildEngine,
BuildEngineBuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
void |
addAsyncCallback(com.google.common.util.concurrent.ListenableFuture<Unit> callback) |
com.google.common.util.concurrent.ListenableFuture<List<BuildResult>> |
getDepResults(BuildRule rule,
ExecutionContext executionContext) |
void |
markRuleAsUsed(BuildRule rule,
BuckEventBus eventBus) |
void |
onRuleAboutToBeBuilt(BuildRule rule) |
void |
setFirstFailure(BuildRuleFailedException throwable) |
public DefaultBuildRuleBuilderDelegate(CachingBuildEngine cachingBuildEngine, BuildEngineBuildContext buildContext)
public void markRuleAsUsed(BuildRule rule, BuckEventBus eventBus)
markRuleAsUsed
in interface com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder.BuildRuleBuilderDelegate
public void setFirstFailure(BuildRuleFailedException throwable)
setFirstFailure
in interface com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder.BuildRuleBuilderDelegate
public com.google.common.util.concurrent.ListenableFuture<List<BuildResult>> getDepResults(BuildRule rule, ExecutionContext executionContext)
getDepResults
in interface com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder.BuildRuleBuilderDelegate
public void addAsyncCallback(com.google.common.util.concurrent.ListenableFuture<Unit> callback)
addAsyncCallback
in interface com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder.BuildRuleBuilderDelegate
public void onRuleAboutToBeBuilt(BuildRule rule)
onRuleAboutToBeBuilt
in interface com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder.BuildRuleBuilderDelegate