Class WritePathValueValidator

java.lang.Object
kieker.tools.settings.validators.WritePathValueValidator
All Implemented Interfaces:
com.beust.jcommander.IValueValidator<Path>

public class WritePathValueValidator extends Object implements com.beust.jcommander.IValueValidator<Path>
Evaluate whether the parent directory exists and the path is writable.
Since:
2.0.0
Author:
Reiner Jung
  • Constructor Details

    • WritePathValueValidator

      public WritePathValueValidator()
  • Method Details

    • validate

      public void validate(String name, Path path) throws com.beust.jcommander.ParameterException
      Specified by:
      validate in interface com.beust.jcommander.IValueValidator<Path>
      Throws:
      com.beust.jcommander.ParameterException