public abstract class BuildEngineBuildContext extends Object
BuildEngine
.Constructor and Description |
---|
BuildEngineBuildContext() |
public abstract BuildContext getBuildContext()
BuildContext
used by various rules to generate Step
s.public abstract ArtifactCache getArtifactCache()
public abstract Clock getClock()
public abstract BuildId getBuildId()
public abstract com.google.common.collect.ImmutableMap<String,String> getEnvironment()
@Value.Default public boolean isKeepGoing()
public OnDiskBuildInfo createOnDiskBuildInfoFor(BuildTarget target, ProjectFilesystem filesystem, BuildInfoStore buildInfoStore)
OnDiskBuildInfo
.
This method should be visible to AbstractBuildRule
, but not BuildRule
s in
general.
public BuildInfoRecorder createBuildInfoRecorder(BuildTarget buildTarget, ProjectFilesystem filesystem, BuildInfoStore buildInfoStore)
BuildInfoRecorder
.
This method should be visible to AbstractBuildRule
, but not BuildRule
s in
general.
public final BuckEventBus getEventBus()
public static BuildEngineBuildContext of(BuildContext buildContext, ArtifactCache artifactCache, Clock clock, BuildId buildId, Map<String,? extends String> environment, boolean keepGoing)
public BuildEngineBuildContext withBuildContext(BuildContext buildContext)
public BuildEngineBuildContext withArtifactCache(ArtifactCache artifactCache)
public BuildEngineBuildContext withKeepGoing(boolean keepGoing)
public BuildEngineBuildContext withBuildId(BuildId buildId)