public final class ProgramRunnerUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
executeConfiguration(ExecutionEnvironment environment,
boolean showSettings,
boolean assignNewId) |
static void |
executeConfiguration(Project project,
RunnerAndConfigurationSettings configuration,
Executor executor)
Deprecated.
|
static void |
executeConfiguration(RunnerAndConfigurationSettings configuration,
Executor executor) |
static void |
executeConfigurationAsync(ExecutionEnvironment environment,
boolean showSettings,
boolean assignNewId,
ProgramRunner.Callback callback) |
static java.lang.String |
getCannotRunOnErrorMessage(RunProfile profile,
ExecutionTarget target) |
static javax.swing.Icon |
getConfigurationIcon(RunnerAndConfigurationSettings settings,
boolean invalid) |
static javax.swing.Icon |
getRawIcon(RunnerAndConfigurationSettings settings) |
static ProgramRunner<?> |
getRunner(java.lang.String executorId,
RunnerAndConfigurationSettings configuration)
Deprecated.
|
static javax.swing.Icon |
getTemporaryIcon(javax.swing.Icon rawIcon) |
static void |
handleExecutionError(Project project,
ExecutionEnvironment environment,
java.lang.Throwable e,
RunProfile configuration) |
static java.lang.String |
shortenName(java.lang.String name,
int toBeAdded) |
@Deprecated public static ProgramRunner<?> getRunner(java.lang.String executorId, RunnerAndConfigurationSettings configuration)
ProgramRunner.getRunner(String, RunProfile)
public static void executeConfiguration(ExecutionEnvironment environment, boolean showSettings, boolean assignNewId)
public static java.lang.String getCannotRunOnErrorMessage(RunProfile profile, ExecutionTarget target)
public static void executeConfigurationAsync(ExecutionEnvironment environment, boolean showSettings, boolean assignNewId, ProgramRunner.Callback callback)
public static void handleExecutionError(Project project, ExecutionEnvironment environment, java.lang.Throwable e, RunProfile configuration)
@Deprecated public static void executeConfiguration(Project project, RunnerAndConfigurationSettings configuration, Executor executor)
executeConfiguration(RunnerAndConfigurationSettings, Executor)
public static void executeConfiguration(RunnerAndConfigurationSettings configuration, Executor executor)
public static javax.swing.Icon getConfigurationIcon(RunnerAndConfigurationSettings settings, boolean invalid)
public static javax.swing.Icon getRawIcon(RunnerAndConfigurationSettings settings)
public static javax.swing.Icon getTemporaryIcon(javax.swing.Icon rawIcon)
public static java.lang.String shortenName(java.lang.String name, int toBeAdded)