public class ExternalSystemRunConfiguration extends LocatableConfigurationBase implements SearchScopeProvidingRunProfile
Modifier and Type | Class and Description |
---|---|
static class |
ExternalSystemRunConfiguration.MyRunnableState
Deprecated.
Internal class
ExternalSystemRunConfiguration.MyRunnableState was turned into fully fledged class ExternalSystemRunnableState . |
RunConfiguration.RestartSingletonResult
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Class<? extends BuildProgressListener>> |
PROGRESS_LISTENER_KEY |
static Key<java.io.InputStream> |
RUN_INPUT_KEY |
DATA_KEY
Constructor and Description |
---|
ExternalSystemRunConfiguration(ProjectSystemId externalSystemId,
Project project,
ConfigurationFactory factory,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
ExternalSystemRunConfiguration |
clone()
Clones the run configuration.
|
SettingsEditor<ExternalSystemRunConfiguration> |
getConfigurationEditor()
Returns the UI control for editing the run configuration settings.
|
GlobalSearchScope |
getSearchScope() |
ExternalSystemTaskExecutionSettings |
getSettings() |
RunProfileState |
getState(Executor executor,
ExecutionEnvironment env)
Prepares for executing a specific instance of the run configuration.
|
void |
readExternal(Element element) |
java.lang.String |
suggestedName()
Returns the default name for the run configuration based on its settings (such as the name of class or file to run).
|
void |
writeExternal(Element element) |
getActionName, getDefaultOptionsClass, getOptions, isGeneratedName, setGeneratedName, setNameChangedByUser
addLogFile, addLogFile, addPredefinedLogFile, canRunOn, checkRunnerSettings, checkSettingsBeforeRun, collectOutputFromProcessHandler, createAdditionalTabComponents, customizeLogConsole, equals, excludeCompileBeforeLaunchOption, getAllLogFiles, getBeforeRunTasks, getFactory, getIcon, getLogFiles, getName, getOptionsClass, getOptionsForPredefinedLogFile, getOutputFilePath, getPredefinedLogFiles, getProject, getState, hashCode, isAllowRunningInParallel, isNewSerializationUsed, isSaveOutputToFile, isShowConsoleOnStdErr, isShowConsoleOnStdOut, loadState, onConfigurationCopied, onNewConfigurationCreated, removeAllLogFiles, removeAllPredefinedLogFiles, setAllowRunningInParallel, setBeforeRunTasks, setFileOutputPath, setName, setOptionsFromConfigurationFile, setSaveOutputToFile, setShowConsoleOnStdErr, setShowConsoleOnStdOut, toString
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
finalize, getClass, notify, notifyAll, wait, wait, wait
getIcon, getName
checkConfiguration, createRunnerSettings, getBeforeRunTasks, getFactory, getId, getPresentableType, getProject, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks, setName
public static final Key<java.io.InputStream> RUN_INPUT_KEY
public static final Key<java.lang.Class<? extends BuildProgressListener>> PROGRESS_LISTENER_KEY
public ExternalSystemRunConfiguration(ProjectSystemId externalSystemId, Project project, ConfigurationFactory factory, java.lang.String name)
public java.lang.String suggestedName()
LocatableConfiguration
suggestedName
in interface LocatableConfiguration
public ExternalSystemRunConfiguration clone()
RunConfiguration
clone
in interface RunConfiguration
clone
in class RunConfigurationBase
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface RunConfiguration
readExternal
in class RunConfigurationBase
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface RunConfiguration
writeExternal
in class RunConfigurationBase
WriteExternalException
public ExternalSystemTaskExecutionSettings getSettings()
public SettingsEditor<ExternalSystemRunConfiguration> getConfigurationEditor()
RunConfiguration
CheckableRunConfigurationEditor
. The returned object
can also implement SettingsEditorGroup
if the settings it provides need to be displayed in
multiple tabs.getConfigurationEditor
in interface RunConfiguration
public RunProfileState getState(Executor executor, ExecutionEnvironment env)
RunProfile
getState
in interface RunProfile
executor
- the execution mode selected by the user (run, debug, profile etc.)env
- the environment object containing additional settings for executing the configuration.public GlobalSearchScope getSearchScope()
getSearchScope
in interface SearchScopeProvidingRunProfile