public final class BuildManager extends java.lang.Object implements Disposable
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
ALLOW_AUTOMAKE |
static java.lang.String |
SYSTEM_ROOT |
static java.lang.String |
TEMP_DIR_NAME |
Constructor and Description |
---|
BuildManager() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<TaskFuture<?>> |
cancelAutoMakeTasks(Project project) |
void |
clearState() |
void |
clearState(Project project) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
static void |
forceModelLoading(CompileContext context) |
static java.io.File |
getBuildLogDirectory() |
static Pair<Sdk,JavaSdkVersion> |
getBuildProcessRuntimeSdk(Project project) |
java.nio.file.Path |
getBuildSystemDirectory() |
java.util.List<java.lang.String> |
getFilesChangedSinceLastCompilation(Project project) |
static BuildManager |
getInstance() |
static Pair<Sdk,JavaSdkVersion> |
getJavacRuntimeSdk(Project project) |
java.io.File |
getProjectSystemDirectory(Project project) |
boolean |
isBuildProcessDebuggingEnabled() |
boolean |
isGeneratePortableCachesEnabled() |
boolean |
isProjectWatched(Project project) |
void |
notifyFilesChanged(java.util.Collection<? extends java.io.File> paths) |
void |
notifyFilesDeleted(java.util.Collection<? extends java.io.File> paths) |
void |
runCommand(java.lang.Runnable command) |
void |
scheduleAutoMake() |
TaskFuture<?> |
scheduleBuild(Project project,
boolean isRebuild,
boolean isMake,
boolean onlyCheckUpToDate,
java.util.List<CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope> scopes,
java.util.Collection<java.lang.String> paths,
java.util.Map<java.lang.String,java.lang.String> userData,
DefaultMessageHandler messageHandler) |
void |
setBuildProcessDebuggingEnabled(boolean buildProcessDebuggingEnabled) |
void |
setGeneratePortableCachesEnabled(boolean generatePortableCachesEnabled) |
public static final Key<java.lang.Boolean> ALLOW_AUTOMAKE
public static final java.lang.String SYSTEM_ROOT
public static final java.lang.String TEMP_DIR_NAME
public static BuildManager getInstance()
public void notifyFilesChanged(java.util.Collection<? extends java.io.File> paths)
public void notifyFilesDeleted(java.util.Collection<? extends java.io.File> paths)
public void runCommand(java.lang.Runnable command)
public static void forceModelLoading(CompileContext context)
public void clearState(Project project)
public void clearState()
public boolean isProjectWatched(Project project)
public java.util.List<java.lang.String> getFilesChangedSinceLastCompilation(Project project)
public void scheduleAutoMake()
public java.util.Collection<TaskFuture<?>> cancelAutoMakeTasks(Project project)
public TaskFuture<?> scheduleBuild(Project project, boolean isRebuild, boolean isMake, boolean onlyCheckUpToDate, java.util.List<CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope> scopes, java.util.Collection<java.lang.String> paths, java.util.Map<java.lang.String,java.lang.String> userData, DefaultMessageHandler messageHandler)
public void dispose()
Disposable
dispose
in interface Disposable
public static Pair<Sdk,JavaSdkVersion> getBuildProcessRuntimeSdk(Project project)
public static Pair<Sdk,JavaSdkVersion> getJavacRuntimeSdk(Project project)
public java.nio.file.Path getBuildSystemDirectory()
public static java.io.File getBuildLogDirectory()
public java.io.File getProjectSystemDirectory(Project project)
public boolean isBuildProcessDebuggingEnabled()
public void setBuildProcessDebuggingEnabled(boolean buildProcessDebuggingEnabled)
public boolean isGeneratePortableCachesEnabled()
public void setGeneratePortableCachesEnabled(boolean generatePortableCachesEnabled)