Class PathWritableValidator

java.lang.Object
com.github.joschi.jadconfig.validators.PathWritableValidator
All Implemented Interfaces:
Validator<Path>

public class PathWritableValidator extends Object implements Validator<Path>
  • Constructor Details

    • PathWritableValidator

      public PathWritableValidator()
  • Method Details

    • validate

      public void validate(String name, Path value) throws ValidationException
      Description copied from interface: Validator
      Validates the value value the of provided configuration parameter name
      Specified by:
      validate in interface Validator<Path>
      Parameters:
      name - The name of the configuration parameter
      value - The value of the configuration parameter. Might also be null.
      Throws:
      ValidationException - If the configuration parameter name couldn't be validated