public class ExecutionHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<RunContentDescriptor> |
collectConsolesByDisplayName(Project project,
NotNullFunction<? super java.lang.String,java.lang.Boolean> titleMatcher) |
static void |
executeExternalProcess(Project myProject,
ProcessHandler processHandler,
ExecutionMode mode,
GeneralCommandLine cmdline) |
static java.util.Collection<RunContentDescriptor> |
findRunningConsole(Project project,
NotNullFunction<? super RunContentDescriptor,java.lang.Boolean> descriptorMatcher) |
static java.util.Collection<RunContentDescriptor> |
findRunningConsoleByTitle(Project project,
NotNullFunction<? super java.lang.String,java.lang.Boolean> titleMatcher) |
static void |
selectContentDescriptor(DataContext dataContext,
Project project,
java.util.Collection<? extends RunContentDescriptor> consoles,
java.lang.String selectDialogTitle,
Consumer<? super RunContentDescriptor> descriptorConsumer) |
static void |
showErrors(Project myProject,
java.util.List<? extends java.lang.Exception> errors,
java.lang.String tabDisplayName,
VirtualFile file) |
static void |
showExceptions(Project myProject,
java.util.List<? extends java.lang.Exception> errors,
java.util.List<? extends java.lang.Exception> warnings,
java.lang.String tabDisplayName,
VirtualFile file) |
static void |
showOutput(Project myProject,
ProcessOutput output,
java.lang.String tabDisplayName,
VirtualFile file,
boolean activateWindow) |
public static void showErrors(Project myProject, java.util.List<? extends java.lang.Exception> errors, java.lang.String tabDisplayName, VirtualFile file)
public static void showExceptions(Project myProject, java.util.List<? extends java.lang.Exception> errors, java.util.List<? extends java.lang.Exception> warnings, java.lang.String tabDisplayName, VirtualFile file)
public static void showOutput(Project myProject, ProcessOutput output, java.lang.String tabDisplayName, VirtualFile file, boolean activateWindow)
public static java.util.Collection<RunContentDescriptor> findRunningConsoleByTitle(Project project, NotNullFunction<? super java.lang.String,java.lang.Boolean> titleMatcher)
public static java.util.Collection<RunContentDescriptor> findRunningConsole(Project project, NotNullFunction<? super RunContentDescriptor,java.lang.Boolean> descriptorMatcher)
public static java.util.List<RunContentDescriptor> collectConsolesByDisplayName(Project project, NotNullFunction<? super java.lang.String,java.lang.Boolean> titleMatcher)
public static void selectContentDescriptor(DataContext dataContext, Project project, java.util.Collection<? extends RunContentDescriptor> consoles, java.lang.String selectDialogTitle, Consumer<? super RunContentDescriptor> descriptorConsumer)
public static void executeExternalProcess(Project myProject, ProcessHandler processHandler, ExecutionMode mode, GeneralCommandLine cmdline)