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