Class FileSystemFactoryStorageHistory<R extends FactoryBase<?,R>,S>
- java.lang.Object
-
- io.github.factoryfx.factory.storage.filesystem.FileSystemFactoryStorageHistory<R,S>
-
public class FileSystemFactoryStorageHistory<R extends FactoryBase<?,R>,S> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileSystemFactoryStorageHistory(java.nio.file.Path basePath, MigrationManager<R,S> migrationManager)FileSystemFactoryStorageHistory(java.nio.file.Path basePath, MigrationManager<R,S> migrationManager, int maxConfigurationHistory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RgetHistoryFactory(java.lang.String id)java.util.Collection<StoredDataMetadata<S>>getHistoryFactoryList()voidpatchAll(DataStoragePatcher consumer, SimpleObjectMapper simpleObjectMapper)voidupdateHistory(R factoryRoot, StoredDataMetadata<S> metadata)
-
-
-
Constructor Detail
-
FileSystemFactoryStorageHistory
public FileSystemFactoryStorageHistory(java.nio.file.Path basePath, MigrationManager<R,S> migrationManager)
-
FileSystemFactoryStorageHistory
public FileSystemFactoryStorageHistory(java.nio.file.Path basePath, MigrationManager<R,S> migrationManager, int maxConfigurationHistory)
-
-
Method Detail
-
getHistoryFactory
public R getHistoryFactory(java.lang.String id)
-
getHistoryFactoryList
public java.util.Collection<StoredDataMetadata<S>> getHistoryFactoryList()
-
updateHistory
public void updateHistory(R factoryRoot, StoredDataMetadata<S> metadata)
-
patchAll
public void patchAll(DataStoragePatcher consumer, SimpleObjectMapper simpleObjectMapper)
-
-