public final class UnknownRunConfiguration extends java.lang.Object implements RunConfiguration, WithoutOwnBeforeRunSteps
RunConfiguration.RestartSingletonResultDATA_KEY| Constructor and Description |
|---|
UnknownRunConfiguration(ConfigurationFactory factory,
Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConfiguration()
Checks whether the run configuration settings are valid.
|
RunConfiguration |
clone()
Clones the run configuration.
|
SettingsEditor<? extends RunConfiguration> |
getConfigurationEditor()
Returns the UI control for editing the run configuration settings.
|
ConfigurationFactory |
getFactory()
Returns the factory that has created the run configuration.
|
javax.swing.Icon |
getIcon()
Returns the icon for the run configuration.
|
java.lang.String |
getName()
Returns the name of the run configuration.
|
Project |
getProject()
Returns the project in which the run configuration exists.
|
RunProfileState |
getState(Executor executor,
ExecutionEnvironment env)
Prepares for executing a specific instance of the run configuration.
|
boolean |
isDoNotStore() |
void |
readExternal(Element element) |
void |
setDoNotStore(boolean b) |
void |
setName(java.lang.String name)
Sets the name of the configuration.
|
void |
writeExternal(Element element) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRunnerSettings, getBeforeRunTasks, getId, getPresentableType, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTaskspublic UnknownRunConfiguration(ConfigurationFactory factory, Project project)
public void setDoNotStore(boolean b)
public javax.swing.Icon getIcon()
RunProfilegetIcon in interface RunProfilepublic boolean isDoNotStore()
public ConfigurationFactory getFactory()
RunConfigurationgetFactory in interface RunConfigurationpublic void setName(java.lang.String name)
RunConfigurationsetName in interface RunConfigurationpublic SettingsEditor<? extends RunConfiguration> getConfigurationEditor()
RunConfigurationCheckableRunConfigurationEditor. The returned object
can also implement SettingsEditorGroup if the settings it provides need to be displayed in
multiple tabs.getConfigurationEditor in interface RunConfigurationpublic Project getProject()
RunConfigurationgetProject in interface RunConfigurationpublic RunConfiguration clone()
RunConfigurationclone in interface RunConfigurationclone in class java.lang.Objectpublic RunProfileState getState(Executor executor, ExecutionEnvironment env) throws ExecutionException
RunProfilegetState in interface RunProfileexecutor - the execution mode selected by the user (run, debug, profile etc.)env - the environment object containing additional settings for executing the configuration.ExecutionExceptionpublic java.lang.String getName()
RunProfilegetName in interface RunProfilepublic void checkConfiguration()
throws RuntimeConfigurationException
RunConfigurationcheckConfiguration in interface RunConfigurationRuntimeConfigurationException - 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 void readExternal(Element element)
throws InvalidDataException
readExternal in interface RunConfigurationInvalidDataExceptionpublic void writeExternal(Element element)
throws WriteExternalException
writeExternal in interface RunConfigurationWriteExternalException