All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.consol.citrus.validation.DefaultMessageValidatorRegistry Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
package com.consol.citrus.validation;

/**
 * Default registry adds default message validators located via resource path lookup. This adds
 * all validators present on the classpath.
 *
 * @author Christoph Deppisch
 */
public class DefaultMessageValidatorRegistry extends MessageValidatorRegistry {

    /**
     * Default constructor adds message validator implementations from resource path lookup.
     */
    public DefaultMessageValidatorRegistry() {

        MessageValidator.lookup().forEach(this::addMessageValidator);
        SchemaValidator.lookup().forEach(this::addSchemaValidator);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy