public class UnknownFeaturesCollector extends java.lang.Object implements PersistentStateComponent<Element>
Constructor and Description |
---|
UnknownFeaturesCollector() |
Modifier and Type | Method and Description |
---|---|
static UnknownFeaturesCollector |
getInstance(Project project) |
Element |
getState() |
java.util.Set<UnknownFeature> |
getUnknownFeatures() |
void |
ignoreFeature(UnknownFeature feature) |
boolean |
isIgnored(UnknownFeature feature) |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
void |
registerUnknownFeature(java.lang.String featureType,
java.lang.String implementationName,
java.lang.String featureDisplayName) |
void |
registerUnknownFeature(java.lang.String featureType,
java.lang.String implementationName,
java.lang.String featureDisplayName,
java.lang.String implementationDisplayName) |
void |
registerUnknownRunConfiguration(java.lang.String configurationId,
java.lang.String factoryName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static UnknownFeaturesCollector getInstance(Project project)
public void registerUnknownRunConfiguration(java.lang.String configurationId, java.lang.String factoryName)
public void registerUnknownFeature(java.lang.String featureType, java.lang.String implementationName, java.lang.String featureDisplayName)
public void registerUnknownFeature(java.lang.String featureType, java.lang.String implementationName, java.lang.String featureDisplayName, java.lang.String implementationDisplayName)
public boolean isIgnored(UnknownFeature feature)
public void ignoreFeature(UnknownFeature feature)
public java.util.Set<UnknownFeature> getUnknownFeatures()
public Element getState()
getState
in interface PersistentStateComponent<Element>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(Element state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Element>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)