public class PluginConfigManager extends Manager implements IMigratable
| Constructor and Description |
|---|
PluginConfigManager(TriggerReactorCore plugin) |
PluginConfigManager(TriggerReactorCore plugin,
IConfigSource configSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Empty method to be called when the plugin is about to shutting down.
|
boolean |
isMigrationNeeded() |
void |
migrate(IMigrationHelper migrationHelper) |
void |
reload()
Reload all triggers
|
void |
saveAll()
Save all triggers
|
getManagerspublic PluginConfigManager(TriggerReactorCore plugin)
public PluginConfigManager(TriggerReactorCore plugin, IConfigSource configSource)
public void reload()
Managerpublic void saveAll()
Managerpublic void disable()
Managerpublic boolean isMigrationNeeded()
isMigrationNeeded in interface IMigratablepublic void migrate(IMigrationHelper migrationHelper)
migrate in interface IMigratable