public class InvalidFacetManagerImpl extends InvalidFacetManager implements PersistentStateComponent<InvalidFacetManagerImpl.InvalidFacetManagerState>
Modifier and Type | Class and Description |
---|---|
static class |
InvalidFacetManagerImpl.InvalidFacetManagerState |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_NAME |
Constructor and Description |
---|
InvalidFacetManagerImpl(Project project) |
Modifier and Type | Method and Description |
---|---|
java.util.List<InvalidFacet> |
getInvalidFacets() |
InvalidFacetManagerImpl.InvalidFacetManagerState |
getState() |
boolean |
isIgnored(InvalidFacet facet) |
void |
loadState(InvalidFacetManagerImpl.InvalidFacetManagerState state)
This method is called when new component state is loaded.
|
void |
setIgnored(InvalidFacet facet,
boolean ignored) |
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static final java.lang.String COMPONENT_NAME
public InvalidFacetManagerImpl(Project project)
public boolean isIgnored(InvalidFacet facet)
isIgnored
in class InvalidFacetManager
public InvalidFacetManagerImpl.InvalidFacetManagerState getState()
getState
in interface PersistentStateComponent<InvalidFacetManagerImpl.InvalidFacetManagerState>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(InvalidFacetManagerImpl.InvalidFacetManagerState state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<InvalidFacetManagerImpl.InvalidFacetManagerState>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void setIgnored(InvalidFacet facet, boolean ignored)
setIgnored
in class InvalidFacetManager
public java.util.List<InvalidFacet> getInvalidFacets()
getInvalidFacets
in class InvalidFacetManager