Package kieker.tools.settings.validators
Class ParentPathValueValidator
java.lang.Object
kieker.tools.settings.validators.ParentPathValueValidator
- All Implemented Interfaces:
com.beust.jcommander.IValueValidator<java.nio.file.Path>
public class ParentPathValueValidator
extends java.lang.Object
implements com.beust.jcommander.IValueValidator<java.nio.file.Path>
Evaluate whether the parent directory of a given path exists.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description ParentPathValueValidator()
-
Method Summary
Modifier and Type Method Description void
validate(java.lang.String name, java.nio.file.Path path)
-
Constructor Details
-
ParentPathValueValidator
public ParentPathValueValidator()
-
-
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
-