Class DirectoryReadValidator

java.lang.Object
kieker.tools.settings.validators.DirectoryReadValidator
All Implemented Interfaces:
com.beust.jcommander.IValueValidator<java.io.File>

public class DirectoryReadValidator
extends java.lang.Object
implements com.beust.jcommander.IValueValidator<java.io.File>
Validate whether the given directory file handle exists and is a directory.
Since:
2.0.0
Author:
Reiner Jung
  • Constructor Summary

    Constructors 
    Constructor Description
    DirectoryReadValidator()  
  • Method Summary

    Modifier and Type Method Description
    void validate​(java.lang.String name, java.io.File value)  

    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.io.File value) throws com.beust.jcommander.ParameterException
      Specified by:
      validate in interface com.beust.jcommander.IValueValidator<java.io.File>
      Throws:
      com.beust.jcommander.ParameterException