Class OnDiskPersistenceManager
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.services.OnDiskPersistenceManager
-
- All Implemented Interfaces:
ApplicationComponent,PersistenceManager
public class OnDiskPersistenceManager extends java.lang.Object implements PersistenceManager
Default persistence manager.- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description OnDiskPersistenceManager(DesignerRoot root, java.nio.file.Path input, java.nio.file.Path output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesignerRootgetDesignerRoot()voidpersistSettings(SettingsOwner settingsOwner)Save the settings from the tree rooted at the [settingsOwner] somewhere for the next runs.voidrestoreSettings(SettingsOwner settingsOwner)Restore the persisted settings into the root settings owner.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDebugName, getGlobalLanguageVersion, getLogCategory, getLogger, getMainStage, getService, isDeveloperMode, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Constructor Detail
-
OnDiskPersistenceManager
public OnDiskPersistenceManager(DesignerRoot root, java.nio.file.Path input, java.nio.file.Path output)
-
-
Method Detail
-
getDesignerRoot
public DesignerRoot getDesignerRoot()
- Specified by:
getDesignerRootin interfaceApplicationComponent
-
restoreSettings
public void restoreSettings(SettingsOwner settingsOwner)
Description copied from interface:PersistenceManagerRestore the persisted settings into the root settings owner.- Specified by:
restoreSettingsin interfacePersistenceManager- Parameters:
settingsOwner- Root of the settings owner hierarchy
-
persistSettings
public void persistSettings(SettingsOwner settingsOwner)
Description copied from interface:PersistenceManagerSave the settings from the tree rooted at the [settingsOwner] somewhere for the next runs.- Specified by:
persistSettingsin interfacePersistenceManager- Parameters:
settingsOwner- Root of the settings owner hierarchy
-
-