Class ConfigDeleteEvent<K>

java.lang.Object
me.a8kj.eventbus.Event
me.a8kj.config.event.ConfigEvent<K>
me.a8kj.config.event.impl.ConfigDeleteEvent<K>
Type Parameters:
K - the type of data keys used in the configuration file.

public class ConfigDeleteEvent<K> extends ConfigEvent<K>
Event triggered immediately after a configuration file has been deleted from the disk. This event is useful for handling cleanup tasks, such as removing references to the configuration from registries or stopping tasks that rely on it.
Since:
0.1
Author:
a8kj7sea
  • Constructor Details

    • ConfigDeleteEvent

      public ConfigDeleteEvent(ConfigFile<K> configFile)
      Constructs a new ConfigDeleteEvent.
      Parameters:
      configFile - the configuration file that was deleted.
      Since:
      0.1