public class DefaultValidationService extends Object implements ValidationService
| Constructor and Description |
|---|
DefaultValidationService(AppRegistryService appRegistry,
DockerValidatorProperties dockerValidatorProperties) |
| 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 appType)
Validate application with given name and type.
|
public DefaultValidationService(AppRegistryService appRegistry, DockerValidatorProperties dockerValidatorProperties)
public boolean isRegistered(String name, ApplicationType applicationType)
ValidationServiceisRegistered in interface ValidationServicename - the nameapplicationType - the application typepublic boolean validate(String name, ApplicationType appType)
ValidationServicevalidate in interface ValidationServicename - the nameappType - the application typeCopyright © 2021 Pivotal Software, Inc.. All rights reserved.