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 Type
    Method
    Description
    boolean
    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

      boolean isRegistered(String name, ApplicationType applicationType)
      Checks if application with its name and type is registered.
      Parameters:
      name - the name
      applicationType - the application type
      Returns:
      true, if is registered
    • validate

      boolean validate(String name, ApplicationType applicationType)
      Validate application with given name and type.
      Parameters:
      name - the name
      applicationType - the application type
      Returns:
      true, if successful