public abstract class LocatableConfigurationBase<T> extends RunConfigurationBase<T> implements LocatableConfiguration
RunConfigurationProducer}.
It supports automatically generating a name for a configuration from its settings and keeping track of whether the name was changed by
the user.RunConfiguration.RestartSingletonResultDATA_KEY| Modifier | Constructor and Description |
|---|---|
protected |
LocatableConfigurationBase(Project project,
ConfigurationFactory factory) |
protected |
LocatableConfigurationBase(Project project,
ConfigurationFactory factory,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getActionName()
Returns the text of the context menu action to start this run configuration.
|
protected java.lang.Class<? extends LocatableRunConfigurationOptions> |
getDefaultOptionsClass()
Do not override this method, it is intended to support old (not migrated to options class) run configurations.
|
protected LocatableRunConfigurationOptions |
getOptions() |
boolean |
isGeneratedName()
Checks if the current name for the run configuration was automatically generated.
|
void |
setGeneratedName()
Renames the configuration to its suggested name.
|
void |
setNameChangedByUser(boolean nameChangedByUser) |
addLogFile, addLogFile, addPredefinedLogFile, canRunOn, checkRunnerSettings, checkSettingsBeforeRun, clone, 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, readExternal, removeAllLogFiles, removeAllPredefinedLogFiles, setAllowRunningInParallel, setBeforeRunTasks, setFileOutputPath, setName, setOptionsFromConfigurationFile, setSaveOutputToFile, setShowConsoleOnStdErr, setShowConsoleOnStdOut, toString, writeExternalchangeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, notify, notifyAll, wait, wait, waitsuggestedNamecheckConfiguration, clone, createRunnerSettings, getBeforeRunTasks, getConfigurationEditor, getFactory, getId, getPresentableType, getProject, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, readExternal, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks, setName, writeExternalgetIcon, getName, getStateprotected LocatableConfigurationBase(Project project, ConfigurationFactory factory, java.lang.String name)
protected LocatableConfigurationBase(Project project, ConfigurationFactory factory)
protected LocatableRunConfigurationOptions getOptions()
getOptions in class RunConfigurationBase<T>protected java.lang.Class<? extends LocatableRunConfigurationOptions> getDefaultOptionsClass()
RunConfigurationBasegetDefaultOptionsClass in class RunConfigurationBase<T>public boolean isGeneratedName()
LocatableConfigurationisGeneratedName in interface LocatableConfigurationLocatableConfiguration.suggestedName(), false if it was manually entered or changed by the user.public void setGeneratedName()
public void setNameChangedByUser(boolean nameChangedByUser)
public java.lang.String getActionName()