public class ProjectTypeService extends java.lang.Object implements PersistentStateComponent<ProjectType>
| Constructor and Description |
|---|
ProjectTypeService() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearFieldsForLightProjectInTests(Project project) |
static ProjectType |
getProjectType(Project project) |
ProjectType |
getState() |
void |
loadState(ProjectType state)
This method is called when new component state is loaded.
|
static void |
setProjectType(Project project,
ProjectType projectType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic static ProjectType getProjectType(Project project)
public static void setProjectType(Project project, ProjectType projectType)
public ProjectType getState()
getState in interface PersistentStateComponent<ProjectType>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(ProjectType state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<ProjectType>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public static void clearFieldsForLightProjectInTests(Project project)