ReloadingStrategypublic class InvariantReloadingStrategy extends java.lang.Object implements ReloadingStrategy
| Constructor | Description |
|---|---|
InvariantReloadingStrategy() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
init() |
Initialize the strategy.
|
void |
reloadingPerformed() |
Notify the strategy that the file has been reloaded.
|
boolean |
reloadingRequired() |
Tell if the evaluation of the strategy requires to reload the configuration.
|
void |
setConfiguration(FileConfiguration configuration) |
Set the configuration managed by this strategy.
|
public InvariantReloadingStrategy()
public void setConfiguration(FileConfiguration configuration)
ReloadingStrategysetConfiguration in interface ReloadingStrategyconfiguration - the configuration to monitorpublic void init()
ReloadingStrategyinit in interface ReloadingStrategypublic boolean reloadingRequired()
ReloadingStrategyreloadingRequired in interface ReloadingStrategypublic void reloadingPerformed()
ReloadingStrategyreloadingPerformed in interface ReloadingStrategy