Module net.morimekta.config
Package net.morimekta.config
Class ConfigWatcher.ConfigEntry<ConfigFileType>
java.lang.Object
net.morimekta.config.ConfigWatcher.ConfigEntry<ConfigFileType>
- Type Parameters:
ConfigFileType- The parsed config file type.
- Enclosing class:
- ConfigWatcher<ConfigFileType>
A config file entry cached in the watcher.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConfigFileTypefinal PathThe file name of the config file.final Stringfinal Instant -
Constructor Summary
ConstructorsConstructorDescriptionConfigEntry(Path file, String identifier, Instant updatedAt, ConfigFileType config) -
Method Summary
-
Field Details
-
file
The file name of the config file. -
identifier
-
updatedAt
-
config
-
-
Constructor Details
-
ConfigEntry
- Parameters:
file- The config file.identifier- The config identifier.updatedAt- The timestamp it was last successfully updated.config- The current config content.
-
-
Method Details