Class ConfigStorageSupplier
- java.lang.Object
-
- me.hsgamer.topper.spigot.storage.simple.supplier.ConfigStorageSupplier
-
- All Implemented Interfaces:
DataStorageSupplier
public class ConfigStorageSupplier extends Object implements DataStorageSupplier
-
-
Constructor Summary
Constructors Constructor Description ConfigStorageSupplier(UnaryOperator<String> configNameProvider, Function<File,me.hsgamer.hscore.config.Config> configProvider, File holderBaseFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
me.hsgamer.topper.storage.core.DataStorage<K,V>getStorage(String name, DataStorageSetting<K,V> setting)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.hsgamer.topper.storage.simple.supplier.DataStorageSupplier
disable, enable
-
-
-
-
Constructor Detail
-
ConfigStorageSupplier
public ConfigStorageSupplier(UnaryOperator<String> configNameProvider, Function<File,me.hsgamer.hscore.config.Config> configProvider, File holderBaseFolder)
-
-
Method Detail
-
getStorage
public <K,V> me.hsgamer.topper.storage.core.DataStorage<K,V> getStorage(String name, DataStorageSetting<K,V> setting)
- Specified by:
getStoragein interfaceDataStorageSupplier
-
-