Package me.a8kj.config.event.impl
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.
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
-
Nested Class Summary
Nested classes/interfaces inherited from class me.a8kj.eventbus.Event
me.a8kj.eventbus.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionConfigCreateEvent(ConfigFile<K> configFile) Constructs a new ConfigCreateEvent. -
Method Summary
Methods inherited from class me.a8kj.eventbus.Event
getEventName, getName, isAsynchronous
-
Constructor Details
-
ConfigCreateEvent
Constructs a new ConfigCreateEvent.- Parameters:
configFile- the configuration file that was recently created.- Since:
- 0.1
-