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