Module uk.autores

Class ConfigDef

java.lang.Object
uk.autores.handling.ConfigDef

public final class ConfigDef extends Object
Defines the configuration supported by a Handler.
See Also:
  • Constructor Details

    • ConfigDef

      public ConfigDef(String key, Predicate<String> validator)
      Ctor.
      Parameters:
      key - the config key
      validator - must return true if the value is valid or false otherwise
  • Method Details