Uses of Class
be.dezijwegel.betteryaml.validation.ValidationHandler

  • Uses of ValidationHandler in be.dezijwegel.betteryaml

    Constructors in be.dezijwegel.betteryaml with parameters of type ValidationHandler
    Constructor Description
    BetterLang​(String name, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin)
    Easily manage localised language files The language template must be located in the /templates folder Any default language contents must be located in the /lang folder Logging is disabled
    BetterLang​(String template, String localised, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin)
    Easily manage localised language files The language template must be located in the /templates folder Any default language contents must be located in the /lang folder Logging is disabled
    BetterLang​(String template, String localised, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin, boolean doLogging)
    Easily manage localised language files The language template must be located in the /templates folder Any default language contents must be located in the /lang folder
    BetterYaml​(String name, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin, boolean doLogging)
    Deprecated.
    We advise using OptionalBetterYaml, this causes less clutter in your code.
    BetterYaml​(String template, String defaultValues, String defaultValuesPath, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin, boolean doLogging)
    Deprecated.
    We advise against using this constructor as it is meant for internal use only.
    OptionalBetterYaml​(String name, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin)
    Handles IOException internally for those who want to avoid handling try-catches A File and YamlConfiguration can later be retrieved as an Optional Creates a BetterYaml instance that will handle your config files For the server's file: Missing options will be autocompleted and comments will be updated based on the template No settings will be changed Will not log any messages to the console
    OptionalBetterYaml​(String name, ValidationHandler validationHandler, org.bukkit.plugin.java.JavaPlugin plugin, boolean doLogging)
    Handles IOException internally for those who want to avoid handling try-catches A File and YamlConfiguration can later be retrieved as an Optional Creates a BetterYaml instance that will handle your config files For the server's file: Missing options will be autocompleted and comments will be updated based on the template No settings will be changed
  • Uses of ValidationHandler in be.dezijwegel.betteryaml.validation

    Methods in be.dezijwegel.betteryaml.validation that return ValidationHandler
    Modifier and Type Method Description
    ValidationHandler ValidationHandler.addValidator​(String path, Validator validator)