public final class UnknownRunConfiguration extends java.lang.Object implements RunConfiguration, WithoutOwnBeforeRunSteps
RunConfiguration.RestartSingletonResult
DATA_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, wait
createRunnerSettings, getBeforeRunTasks, getId, getPresentableType, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks
public UnknownRunConfiguration(ConfigurationFactory factory, Project project)
public void setDoNotStore(boolean b)
public javax.swing.Icon getIcon()
RunProfile
getIcon
in interface RunProfile
public boolean isDoNotStore()
public ConfigurationFactory getFactory()
RunConfiguration
getFactory
in interface RunConfiguration
public void setName(java.lang.String name)
RunConfiguration
setName
in interface RunConfiguration
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 Project getProject()
RunConfiguration
getProject
in interface RunConfiguration
public RunConfiguration clone()
RunConfiguration
clone
in interface RunConfiguration
clone
in class java.lang.Object
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 java.lang.String getName()
RunProfile
getName
in interface RunProfile
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 void readExternal(Element element) throws InvalidDataException
readExternal
in interface RunConfiguration
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface RunConfiguration
WriteExternalException