Class ConfigCreateEvent<K>

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

public class ConfigCreateEvent<K> extends ConfigEvent<K>
Event triggered immediately after a configuration file has been successfully created on the disk. This can be used to perform post-creation logic, such as initial data injection or logging.
Since:
0.1
Author:
a8kj7sea
  • Constructor Details

    • ConfigCreateEvent

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