Package kieker.tools.settings.validators
Class WritePathValueValidator
java.lang.Object
kieker.tools.settings.validators.WritePathValueValidator
- All Implemented Interfaces:
com.beust.jcommander.IValueValidator<java.nio.file.Path>
public class WritePathValueValidator
extends java.lang.Object
implements com.beust.jcommander.IValueValidator<java.nio.file.Path>
Evaluate whether the parent directory exists and the path is writable.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description WritePathValueValidator()
-
Method Summary
Modifier and Type Method Description void
validate(java.lang.String name, java.nio.file.Path path)
-
Constructor Details
-
WritePathValueValidator
public WritePathValueValidator()
-
-
Method Details
-
validate
public void validate(java.lang.String name, java.nio.file.Path path) throws com.beust.jcommander.ParameterException- Specified by:
validate
in interfacecom.beust.jcommander.IValueValidator<java.nio.file.Path>
- Throws:
com.beust.jcommander.ParameterException
-