com.intellij.execution
Class ExecutionManager
java.lang.Object
com.intellij.execution.ExecutionManager
public abstract class ExecutionManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionManager
public ExecutionManager()
getInstance
public static ExecutionManager getInstance(Project project)
getContentManager
public abstract RunContentManager getContentManager()
compileAndRun
public abstract void compileAndRun(java.lang.Runnable startRunnable,
RunProfile configuration,
RunProfileState state)
execute
public abstract void execute(JavaParameters cmdLine,
java.lang.String contentName,
DataContext dataContext)
throws ExecutionException
- Executes arbitrary java vm executable and attaches run console window to it.
- Parameters:
cmdLine - configure jre, classpath, vm parameters, working dir etc.contentName - name of the run content tabdataContext - usually passed to AnAction.actionPerformed(). Required for correct run tabs replacement management.
- Throws:
ExecutionException
execute
public abstract void execute(JavaParameters cmdLine,
java.lang.String contentName,
DataContext dataContext,
Filter[] filters)
throws ExecutionException
- Same as
execute(com.intellij.execution.configurations.JavaParameters, String, com.intellij.openapi.actionSystem.DataContext)
but also takes filters to apply to console created.
- Parameters:
cmdLine - configure jre, classpath, vm parameters, working dir etc.contentName - name of the run content tabdataContext - usually passed to AnAction.actionPerformed(). Required for correct run tabs replacement management.filters - to apply to console view created.
- Throws:
ExecutionException
getRunningProcesses
public abstract ProcessHandler[] getRunningProcesses()