public final class ExecutionEnvironment extends UserDataHolderBase implements Disposable
Disposable.Parent
Constructor and Description |
---|
ExecutionEnvironment() |
ExecutionEnvironment(Executor executor,
ProgramRunner runner,
RunnerAndConfigurationSettings settings,
Project project) |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public ExecutionEnvironment()
public ExecutionEnvironment(Executor executor, ProgramRunner runner, RunnerAndConfigurationSettings settings, Project project)
public TargetEnvironmentFactory getTargetEnvironmentFactory()
public TargetEnvironment getPreparedTargetEnvironment(ProgressIndicator progressIndicator)
public void setCallback(ProgramRunner.Callback callback)
public ProgramRunner.Callback getCallback()
public void dispose()
Disposable
dispose
in interface Disposable
public Project getProject()
public ExecutionTarget getExecutionTarget()
public RunProfile getRunProfile()
public RunnerAndConfigurationSettings getRunnerAndConfigurationSettings()
public RunContentDescriptor getContentToReuse()
public void setContentToReuse(RunContentDescriptor contentToReuse)
public ProgramRunner<?> getRunner()
public RunnerSettings getRunnerSettings()
public ConfigurationPerRunnerSettings getConfigurationSettings()
public RunProfileState getState() throws ExecutionException
ExecutionException
public long assignNewExecutionId()
public void setExecutionId(long executionId)
public long getExecutionId()
ExecutionEnvironment
(assignNewExecutionId
).
Can be set manually to create a batch of ExecutionEnvironment
that are semantically a "single launch".
RunContentDescriptor
s will not reuse each other tabs if they have the same executionId.RunContentDescriptor
.public Executor getExecutor()
public java.lang.String toString()
toString
in class java.lang.Object
public DataContext getDataContext()
public static long getNextUnusedExecutionId()
ExecutionEnvironment
.