public abstract class AbstractApplicationConfigurationProducer<T extends ApplicationConfiguration> extends JavaRunConfigurationProducerBase<T>
EP_NAME
Constructor and Description |
---|
AbstractApplicationConfigurationProducer() |
AbstractApplicationConfigurationProducer(ApplicationConfigurationType configurationType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isConfigurationFromContext(T appConfiguration,
ConfigurationContext context)
Checks if the specified configuration was created from the specified context.
|
protected boolean |
setupConfigurationFromContext(T configuration,
ConfigurationContext context,
Ref<PsiElement> sourceElement)
Sets up a configuration based on the specified context.
|
createConfigurationFromContext, findModule, setupConfigurationModule, setupPackageConfiguration
cloneTemplateConfiguration, cloneTemplateConfigurationStatic, createLightConfiguration, findExistingConfiguration, findOrCreateConfigurationFromContext, getConfigurationFactory, getConfigurationSettingsList, getConfigurationType, getInstance, getProducers, isPreferredConfiguration, onFirstRun, shouldReplace
public AbstractApplicationConfigurationProducer()
@Deprecated public AbstractApplicationConfigurationProducer(ApplicationConfigurationType configurationType)
RunConfigurationProducer.getConfigurationFactory()
.protected boolean setupConfigurationFromContext(T configuration, ConfigurationContext context, Ref<PsiElement> sourceElement)
RunConfigurationProducer
setupConfigurationFromContext
in class RunConfigurationProducer<T extends ApplicationConfiguration>
configuration
- a clone of the template run configuration of the specified typecontext
- contains the information about a location in the source code.sourceElement
- a reference to the source element for the run configuration (by default contains the element at caret,
can be updated by the producer to point to a higher-level element in the tree).public boolean isConfigurationFromContext(T appConfiguration, ConfigurationContext context)
RunConfigurationProducer
isConfigurationFromContext
in class RunConfigurationProducer<T extends ApplicationConfiguration>
appConfiguration
- a configuration instance.context
- contains the information about a location in the source code.