public class ExcludedEntriesConfiguration extends java.lang.Object implements PersistentStateComponent<ExcludedEntriesConfiguration>, JDOMExternalizable, Disposable, ExcludesConfiguration
Disposable.Parent
Constructor and Description |
---|
ExcludedEntriesConfiguration() |
ExcludedEntriesConfiguration(ExcludedEntriesListener eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
addExcludeEntryDescription(ExcludeEntryDescription description) |
boolean |
containsExcludeEntryDescription(ExcludeEntryDescription description) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
ExcludeEntryDescription[] |
getExcludeEntryDescriptions() |
ExcludedEntriesConfiguration |
getState() |
boolean |
isExcluded(VirtualFile virtualFile) |
void |
loadState(ExcludedEntriesConfiguration state)
This method is called when new component state is loaded.
|
void |
readExternal(Element node) |
void |
removeAllExcludeEntryDescriptions() |
void |
removeExcludeEntryDescription(ExcludeEntryDescription description) |
void |
writeExternal(Element element) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public ExcludedEntriesConfiguration()
public ExcludedEntriesConfiguration(ExcludedEntriesListener eventPublisher)
public ExcludeEntryDescription[] getExcludeEntryDescriptions()
getExcludeEntryDescriptions
in interface ExcludesConfiguration
public void addExcludeEntryDescription(ExcludeEntryDescription description)
addExcludeEntryDescription
in interface ExcludesConfiguration
public void removeExcludeEntryDescription(ExcludeEntryDescription description)
removeExcludeEntryDescription
in interface ExcludesConfiguration
public void removeAllExcludeEntryDescriptions()
removeAllExcludeEntryDescriptions
in interface ExcludesConfiguration
public boolean containsExcludeEntryDescription(ExcludeEntryDescription description)
containsExcludeEntryDescription
in interface ExcludesConfiguration
public void readExternal(Element node)
readExternal
in interface JDOMExternalizable
public void writeExternal(Element element)
writeExternal
in interface JDOMExternalizable
public boolean isExcluded(VirtualFile virtualFile)
isExcluded
in interface ExcludesConfiguration
public void dispose()
Disposable
dispose
in interface Disposable
public ExcludedEntriesConfiguration getState()
getState
in interface PersistentStateComponent<ExcludedEntriesConfiguration>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(ExcludedEntriesConfiguration state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ExcludedEntriesConfiguration>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)