public abstract class BuildContext extends Object
Constructor and Description |
---|
BuildContext() |
Modifier and Type | Method and Description |
---|---|
abstract Path |
getBuildCellRootPath() |
abstract BuckEventBus |
getEventBus() |
abstract JavaPackageFinder |
getJavaPackageFinder() |
abstract boolean |
getShouldDeleteTemporaries() |
abstract SourcePathResolverAdapter |
getSourcePathResolver() |
static BuildContext |
of(SourcePathResolverAdapter sourcePathResolver,
Path buildCellRootPath,
JavaPackageFinder javaPackageFinder,
BuckEventBus eventBus,
boolean shouldDeleteTemporaries) |
BuildContext |
withBuildCellRootPath(Path buildCellRootPath) |
BuildContext |
withEventBus(BuckEventBus eventBus) |
BuildContext |
withJavaPackageFinder(JavaPackageFinder javaPackageFinder) |
BuildContext |
withSourcePathResolver(SourcePathResolverAdapter sourcePathResolver) |
public abstract SourcePathResolverAdapter getSourcePathResolver()
public abstract Path getBuildCellRootPath()
public abstract JavaPackageFinder getJavaPackageFinder()
public abstract BuckEventBus getEventBus()
public abstract boolean getShouldDeleteTemporaries()
public static BuildContext of(SourcePathResolverAdapter sourcePathResolver, Path buildCellRootPath, JavaPackageFinder javaPackageFinder, BuckEventBus eventBus, boolean shouldDeleteTemporaries)
public BuildContext withBuildCellRootPath(Path buildCellRootPath)
public BuildContext withEventBus(BuckEventBus eventBus)
public BuildContext withJavaPackageFinder(JavaPackageFinder javaPackageFinder)
public BuildContext withSourcePathResolver(SourcePathResolverAdapter sourcePathResolver)