Package com.aresstack.keepassrpc.config
Class InMemoryKeePassRpcSettingsRepository
java.lang.Object
com.aresstack.keepassrpc.config.InMemoryKeePassRpcSettingsRepository
- All Implemented Interfaces:
KeePassRpcSettingsRepository
public class InMemoryKeePassRpcSettingsRepository
extends Object
implements KeePassRpcSettingsRepository
In-memory
KeePassRpcSettingsRepository implementation for demos and tests.
Production applications should provide their own durable and appropriately protected persistence mechanism.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload()Load the current settings.voidsave(KeePassRpcSettings settings) Persist the supplied settings.
-
Constructor Details
-
InMemoryKeePassRpcSettingsRepository
-
-
Method Details
-
load
Description copied from interface:KeePassRpcSettingsRepositoryLoad the current settings.- Specified by:
loadin interfaceKeePassRpcSettingsRepository- Returns:
- settings instance, never
null
-
save
Description copied from interface:KeePassRpcSettingsRepositoryPersist the supplied settings.- Specified by:
savein interfaceKeePassRpcSettingsRepository- Parameters:
settings- settings to persist
-