Interface ValidationService
- All Known Subinterfaces:
StreamValidationService
,TaskValidationService
- All Known Implementing Classes:
DefaultStreamValidationService
,DefaultTaskValidationService
,DefaultValidationService
public interface ValidationService
Perform validation on the provided application name and type.
Implementations can test if maven/docker coordinates are valid.
- Author:
- Mark Pollack
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isRegistered
(String name, ApplicationType applicationType) Checks if application with its name and type is registered.boolean
validate
(String name, ApplicationType applicationType) Validate application with given name and type.
-
Method Details
-
isRegistered
Checks if application with its name and type is registered.- Parameters:
name
- the nameapplicationType
- the application type- Returns:
- true, if is registered
-
validate
Validate application with given name and type.- Parameters:
name
- the nameapplicationType
- the application type- Returns:
- true, if successful
-