Class Validation


public class Validation extends Object
  • Constructor Details

    • Validation

      public Validation()
  • Method Details

    • validateFile

      public static void validateFile(String hint, String key, String value)
    • validateExistenceOfConfigurationFiles

      public static void validateExistenceOfConfigurationFiles(String[] XMLConfigurationFiles, String[] simModels)
      Validate parameters passed to CakeInstance.start() and in case of invalid parameter values, give a helpful error message.
      XMLConfigurationFiles - Array of paths to the composition, model, similarity model, casebase and transformation configuration. Each path can be null.
      simModels - Array of similarity model paths or null