mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
IJPL-157834 No way to start two run configurations at once
GitOrigin-RevId: 93a70bd8fc53164a9e4863559d5f901c50f0085b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
34666bb5a2
commit
d587049edb
@@ -109,11 +109,12 @@ abstract class ExecutionManager {
|
||||
abstract fun restartRunProfile(environment: ExecutionEnvironment)
|
||||
|
||||
fun isStarting(environment: ExecutionEnvironment): Boolean {
|
||||
return isStarting(environment.executor.id, environment.runner.runnerId)
|
||||
return isStarting(environment.runnerAndConfigurationSettings?.uniqueID ?: "",
|
||||
environment.executor.id, environment.runner.runnerId)
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
abstract fun isStarting(executorId: String, runnerId: String): Boolean
|
||||
abstract fun isStarting(configurationId: String, executorId: String, runnerId: String): Boolean
|
||||
|
||||
@ApiStatus.Experimental
|
||||
abstract fun executePreparationTasks(environment: ExecutionEnvironment, currentState: RunProfileState): Promise<Any?>
|
||||
|
||||
@@ -25,15 +25,16 @@ public abstract class ExecutorRegistry {
|
||||
@Nullable
|
||||
public abstract Executor getExecutorById(@NotNull String executorId);
|
||||
|
||||
/**
|
||||
* Consider to use {@link ExecutionManager#isStarting(ExecutionEnvironment)}
|
||||
*/
|
||||
/** @deprecated Use {@link ExecutionManager#isStarting(ExecutionEnvironment)} */
|
||||
@SuppressWarnings("MethodMayBeStatic")
|
||||
@Deprecated(forRemoval = true)
|
||||
public final boolean isStarting(@NotNull Project project, @NotNull String executorId, @NotNull String runnerId) {
|
||||
return ExecutionManager.getInstance(project).isStarting(executorId, runnerId);
|
||||
return ExecutionManager.getInstance(project).isStarting("", executorId, runnerId);
|
||||
}
|
||||
|
||||
/** @deprecated Use {@link ExecutionManager#isStarting(ExecutionEnvironment)} */
|
||||
@SuppressWarnings("MethodMayBeStatic")
|
||||
@Deprecated(forRemoval = true)
|
||||
public final boolean isStarting(@NotNull ExecutionEnvironment environment) {
|
||||
return ExecutionManager.getInstance(environment.getProject()).isStarting(environment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user