aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/application/validation/Validator.java
blob: fb1bf0b0ed87aaed66489b540b6a522c8465817e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.application.validation;

/**
 * Abstract superclass of all application package validators.
 *
 * @author hmusum
 */
public interface Validator {

    /**
     * Validates the input Vespa model; illegal configuration should be reported through the context,
     * while other problems (system error, insufficient quota, etc.) should be thrown.
     */
    void validate(Validation.Context context);

}