Uses of Class
io.github.ttno1.configvalidation.ConfigValidationResult
Packages that use ConfigValidationResult
-
Uses of ConfigValidationResult in io.github.ttno1.configvalidation
Methods in io.github.ttno1.configvalidation that return ConfigValidationResultModifier and TypeMethodDescriptionConfigValidationResult.handle(Consumer<ConfigValidationResult> consumer) Convenience method that runs the provided consumer withthisas the argument.
Allows for easy handling of this ConfigValidationResult through method chaining.<E extends Throwable>
ConfigValidationResultConfigValidationResult.handleChecked(CheckedConsumer<ConfigValidationResult, E> consumer) Convenience method that runs the provided checked consumer withthisas the argument.
Allows for easy handling of this ConfigValidationResult through method chaining.ConfigList.validate(ConfigWrapper configWrapper, String path) ConfigNode.validate(ConfigWrapper configWrapper, String path) Validates this node against the suppliedConfigWrapperat the specified path.
Checks for existence of the node, valid data type, and filter passage.ConfigSpec.validate(ConfigWrapper configWrapper) Convenience method that callsConfigNode.validate(ConfigWrapper, String)with an empty string as the path argument.
Useful when thisConfigSpecis at the root of the config.Method parameters in io.github.ttno1.configvalidation with type arguments of type ConfigValidationResultModifier and TypeMethodDescriptionConfigValidationResult.handle(Consumer<ConfigValidationResult> consumer) Convenience method that runs the provided consumer withthisas the argument.
Allows for easy handling of this ConfigValidationResult through method chaining.<E extends Throwable>
ConfigValidationResultConfigValidationResult.handleChecked(CheckedConsumer<ConfigValidationResult, E> consumer) Convenience method that runs the provided checked consumer withthisas the argument.
Allows for easy handling of this ConfigValidationResult through method chaining.