public class ProjectStartupConfigurationBase extends java.lang.Object implements PersistentStateComponent<ProjectStartupConfigurationBase>
Modifier and Type | Class and Description |
---|---|
static class |
ProjectStartupConfigurationBase.ConfigurationDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
ProjectStartupConfigurationBase() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
deleteConfiguration(java.lang.String id) |
java.util.List<ProjectStartupConfigurationBase.ConfigurationDescriptor> |
getList() |
ProjectStartupConfigurationBase |
getState() |
boolean |
isEmpty() |
void |
loadState(ProjectStartupConfigurationBase state)
This method is called when new component state is loaded.
|
boolean |
rename(java.lang.String oldId,
RunnerAndConfigurationSettings settings) |
void |
setConfigurations(java.util.Collection<? extends RunnerAndConfigurationSettings> collection) |
void |
setList(java.util.List<? extends ProjectStartupConfigurationBase.ConfigurationDescriptor> list) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public ProjectStartupConfigurationBase getState()
getState
in interface PersistentStateComponent<ProjectStartupConfigurationBase>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(ProjectStartupConfigurationBase state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ProjectStartupConfigurationBase>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void clear()
public java.util.List<ProjectStartupConfigurationBase.ConfigurationDescriptor> getList()
public void setList(java.util.List<? extends ProjectStartupConfigurationBase.ConfigurationDescriptor> list)
public boolean isEmpty()
public void setConfigurations(java.util.Collection<? extends RunnerAndConfigurationSettings> collection)
public boolean deleteConfiguration(java.lang.String id)
public boolean rename(java.lang.String oldId, RunnerAndConfigurationSettings settings)