aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/derived/validation/Validation.java
blob: 38f34786570732757ba0ed8b6cccb0e33325de67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema.derived.validation;

import com.yahoo.schema.Schema;
import com.yahoo.schema.derived.DerivedConfiguration;

public class Validation {

    public static void validate(DerivedConfiguration config, Schema schema) {
        new IndexStructureValidator(config, schema).validate();
    }
}