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