Class FileReferenceConverter

java.lang.Object
com.evolveum.midpoint.ninja.util.FileReferenceConverter
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<FileReference>

public class FileReferenceConverter extends Object implements com.beust.jcommander.IStringConverter<FileReference>, com.beust.jcommander.IParameterValidator
Created by Viliam Repan (lazyman).
  • Constructor Details

    • FileReferenceConverter

      public FileReferenceConverter()
  • Method Details

    • convert

      public FileReference convert(String value)
      Specified by:
      convert in interface com.beust.jcommander.IStringConverter<FileReference>
    • validate

      public void validate(String name, String value) throws com.beust.jcommander.ParameterException
      Specified by:
      validate in interface com.beust.jcommander.IParameterValidator
      Throws:
      com.beust.jcommander.ParameterException