Class ConfigWatcher.ConfigEntry<ConfigFileType>

  • Type Parameters:
    ConfigFileType - The parsed config file type.
    Enclosing class:
    ConfigWatcher<ConfigFileType>

    public static class ConfigWatcher.ConfigEntry<ConfigFileType>
    extends Object
    A config file entry cached in the watcher.
    • Field Detail

      • file

        public final Path file
        The file name of the config file.
      • identifier

        public final String identifier
      • updatedAt

        public final Instant updatedAt
    • Constructor Detail

      • ConfigEntry

        public ConfigEntry​(Path file,
                           String identifier,
                           Instant updatedAt,
                           ConfigFileType config)
        Parameters:
        file - The config file.
        identifier - The config identifier.
        updatedAt - The timestamp it was last successfully updated.
        config - The current config content.