Class ImportValidationServiceImpl
- java.lang.Object
-
- org.dashbuilder.backend.services.impl.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 Summary
Constructors Constructor Description ImportValidationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanvalidate(String file)Checks if the given file URL is valid for a Runtime Model.
-
-
-
Method Detail
-
validate
public boolean validate(String file)
Checks if the given file URL is valid for a Runtime Model.- Specified by:
validatein interfaceImportValidationService- Parameters:
file- The File path- Returns:
- true if the file is valid, false otherwise;
-
-