Uses of Interface
privbot.config.ConfigMigration.ConfigAccess
Packages that use ConfigMigration.ConfigAccess
Package
Description
Plugin settings helpers:
ConfigMigration, the versioned migration a plugin runs first in
startUp whenever it changes a config default or the meaning of a key.-
Uses of ConfigMigration.ConfigAccess in privbot.config
Methods in privbot.config that return ConfigMigration.ConfigAccessModifier and TypeMethodDescriptionstatic ConfigMigration.ConfigAccessgroupof a live ConfigManager: reads and writes go through the manager, andsaved(java.lang.String)reads the properties file it saves to (ConfigMigration.savedIn(privbot.config.ConfigMigration.ConfigAccess, java.nio.file.Path, java.lang.String)).static ConfigMigration.ConfigAccessConfigMigration.savedIn(ConfigMigration.ConfigAccess live, Path file, String group) live, withsaved(java.lang.String)read from the properties filefile(keys<group>.<key>, as RuneLite saves them), fresh on every read, overlaid with this view's own writes (the client saves those to the file within a second, after the migration has read on).Methods in privbot.config with parameters of type ConfigMigration.ConfigAccessModifier and TypeMethodDescriptionConfigMigration.Step.apply(ConfigMigration.ConfigAccess config) static List<ConfigMigration.Change> ConfigMigration.run(ConfigMigration.ConfigAccess config, ConfigMigration.Step... steps) Applies every step whose version is above the savedConfigMigration.VERSION_KEY, in version order (steps of one version in the order given), then stores the highest version given.static ConfigMigration.ConfigAccessConfigMigration.savedIn(ConfigMigration.ConfigAccess live, Path file, String group) live, withsaved(java.lang.String)read from the properties filefile(keys<group>.<key>, as RuneLite saves them), fresh on every read, overlaid with this view's own writes (the client saves those to the file within a second, after the migration has read on).