Class ImportValidationServiceImpl

  • All Implemented Interfaces:
    ImportValidationService

    @ApplicationScoped
    public class ImportValidationServiceImpl
    extends Object
    implements ImportValidationService
    Simple Validation Service Implementation that checks if the ZIPs contains the necessary structure.
    • Constructor Detail

      • ImportValidationServiceImpl

        public ImportValidationServiceImpl()
    • Method Detail

      • validate

        public boolean validate​(String file)
        Checks if the given file URL is valid for a Runtime Model.
        Specified by:
        validate in interface ImportValidationService
        Parameters:
        file - The File path
        Returns:
        true if the file is valid, false otherwise;