public abstract class RunProfileStarter
extends java.lang.Object
com.intellij.execution.runners.GenericProgramRunner or com.intellij.execution.runners.AsyncProgramRunner.
The callback used to execute a process from the ExecutionManager#startRunProfile(RunProfileStarter, ExecutionEnvironment).
| Constructor and Description |
|---|
RunProfileStarter() |
| Modifier and Type | Method and Description |
|---|---|
RunContentDescriptor |
execute(RunProfileState state,
ExecutionEnvironment environment)
Deprecated.
|
Promise<RunContentDescriptor> |
executeAsync(ExecutionEnvironment environment)
You should NOT throw exceptions in this method.
|
@Deprecated public RunContentDescriptor execute(RunProfileState state, ExecutionEnvironment environment) throws ExecutionException
executeAsync(ExecutionEnvironment)ExecutionExceptionpublic Promise<RunContentDescriptor> executeAsync(ExecutionEnvironment environment) throws ExecutionException
Promises#rejectedPromise(Throwable) or call org.jetbrains.concurrency.AsyncPromise#setError(Throwable)ExecutionException