public class RunConfigurationProducerService extends java.lang.Object implements PersistentStateComponent<RunConfigurationProducerService.State>
RunConfigurationProducer implementations that should be ignored for a given project. All
subclasses of classes specified here will be ignored when looking for configuration producers.| Modifier and Type | Class and Description |
|---|---|
static class |
RunConfigurationProducerService.State |
| Constructor and Description |
|---|
RunConfigurationProducerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIgnoredProducer(java.lang.Class<? extends RunConfigurationProducer<?>> ignoredProducer) |
static RunConfigurationProducerService |
getInstance(Project project) |
RunConfigurationProducerService.State |
getState() |
boolean |
isIgnored(RunConfigurationProducer<?> producer) |
void |
loadState(RunConfigurationProducerService.State state)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic RunConfigurationProducerService.State getState()
getState in interface PersistentStateComponent<RunConfigurationProducerService.State>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(RunConfigurationProducerService.State state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<RunConfigurationProducerService.State>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public static RunConfigurationProducerService getInstance(Project project)
public void addIgnoredProducer(java.lang.Class<? extends RunConfigurationProducer<?>> ignoredProducer)
public boolean isIgnored(RunConfigurationProducer<?> producer)