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

com.yahoo.elide.modelconfig.validator.Validator Maven / Gradle / Ivy

There is a newer version: 7.1.2
Show newest version
/*
 * Copyright 2021, Yahoo Inc.
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root for terms.
 */

package com.yahoo.elide.modelconfig.validator;

import com.yahoo.elide.modelconfig.store.models.ConfigFile;

import java.util.Map;

/**
 * Used to validate configuration.
 */
@FunctionalInterface
public interface Validator {

    /**
     * Validate a full set of configurations.  Throws an exception if there is an error.
     * @param resourceMap Maps the path to the resource content.
     */
    void validate(Map resourceMap);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy