org.springframework.cloud.dataflow.server.service

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 Detail

    - #### 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

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.