@Deprecated public static class RuntimeConfigurationProducer.DelegatingRuntimeConfiguration<T extends LocatableConfiguration> extends LocatableConfigurationBase implements ModuleRunConfiguration
RunConfiguration.RestartSingletonResult
DATA_KEY
Constructor and Description |
---|
DelegatingRuntimeConfiguration(T config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Deprecated.
Checks whether the run configuration settings are valid.
|
RuntimeConfigurationProducer.DelegatingRuntimeConfiguration<T> |
clone()
Deprecated.
Clones the run configuration.
|
SettingsEditor<? extends RunConfiguration> |
getConfigurationEditor()
Deprecated.
Returns the UI control for editing the run configuration settings.
|
T |
getPeer()
Deprecated.
|
RunProfileState |
getState(Executor executor,
ExecutionEnvironment env)
Deprecated.
Prepares for executing a specific instance of the run configuration.
|
void |
readExternal(Element element)
Deprecated.
|
java.lang.String |
suggestedName()
Deprecated.
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)
Deprecated.
|
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
createRunnerSettings, getBeforeRunTasks, getFactory, getId, getPresentableType, getProject, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks, setName
getSearchScope
getModules, isBuildBeforeLaunchAddedByDefault, isBuildProjectOnEmptyModuleList, isExcludeCompileBeforeLaunchOption
getIcon, getName
public DelegatingRuntimeConfiguration(T config)
public SettingsEditor<? extends RunConfiguration> 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 RuntimeConfigurationProducer.DelegatingRuntimeConfiguration<T> clone()
RunConfiguration
clone
in interface RunConfiguration
clone
in class RunConfigurationBase
public RunProfileState getState(Executor executor, ExecutionEnvironment env) throws ExecutionException
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.ExecutionException
public void checkConfiguration() throws RuntimeConfigurationException
RunConfiguration
checkConfiguration
in interface RunConfiguration
RuntimeConfigurationException
- if the configuration settings contain a non-fatal problem which the user should be warned about
but the execution should still be allowed.RuntimeConfigurationError
- if the configuration settings contain a fatal problem which makes it impossible
to execute the run configuration.public java.lang.String suggestedName()
LocatableConfiguration
suggestedName
in interface LocatableConfiguration
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 T getPeer()