1 /*
2 * SPDX-FileCopyrightText: Copyright (c) 2011-2025 Yegor Bugayenko
3 * SPDX-License-Identifier: MIT
4 */
5 package com.qulice.maven;
6
7 import com.qulice.spi.ValidationException;
8
9 /**
10 * Validator inside Maven.
11 *
12 * @since 0.3
13 */
14 interface MavenValidator {
15
16 /**
17 * Validate this environment.
18 * @param env The environment
19 * @throws ValidationException In case of violations
20 */
21 void validate(MavenEnvironment env) throws ValidationException;
22
23 }