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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • validate

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