public final class ExternalDependenciesManagerImpl extends ExternalDependenciesManager implements PersistentStateComponent<ExternalDependenciesManagerImpl.ExternalDependenciesState>
Modifier and Type | Class and Description |
---|---|
static class |
ExternalDependenciesManagerImpl.ExternalDependenciesState |
Modifier and Type | Method and Description |
---|---|
java.util.List<ProjectExternalDependency> |
getAllDependencies() |
<T extends ProjectExternalDependency> |
getDependencies(java.lang.Class<T> aClass) |
ExternalDependenciesManagerImpl.ExternalDependenciesState |
getState() |
void |
loadState(ExternalDependenciesManagerImpl.ExternalDependenciesState state)
This method is called when new component state is loaded.
|
void |
setAllDependencies(java.util.List<? extends ProjectExternalDependency> dependencies) |
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public <T extends ProjectExternalDependency> java.util.List<T> getDependencies(java.lang.Class<T> aClass)
getDependencies
in class ExternalDependenciesManager
public java.util.List<ProjectExternalDependency> getAllDependencies()
getAllDependencies
in class ExternalDependenciesManager
public void setAllDependencies(java.util.List<? extends ProjectExternalDependency> dependencies)
setAllDependencies
in class ExternalDependenciesManager
public ExternalDependenciesManagerImpl.ExternalDependenciesState getState()
getState
in interface PersistentStateComponent<ExternalDependenciesManagerImpl.ExternalDependenciesState>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(ExternalDependenciesManagerImpl.ExternalDependenciesState state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ExternalDependenciesManagerImpl.ExternalDependenciesState>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)