1 /*
2 * SPDX-FileCopyrightText: Copyright (c) 2011-2026 Yegor Bugayenko
3 * SPDX-License-Identifier: MIT
4 */
5 package com.qulice.maven;
6
7 import com.qulice.spi.ResourceValidator;
8 import com.qulice.spi.Validator;
9 import java.util.Collection;
10 import java.util.Set;
11
12 /**
13 * Provider of validators.
14 *
15 * @since 0.3
16 */
17 interface ValidatorsProvider {
18
19 /**
20 * Get a collection of internal validators.
21 *
22 * @return List of them
23 * @see CheckMojo#execute()
24 */
25 Set<MavenValidator> internal();
26
27 /**
28 * Get a collection of external validators.
29 *
30 * @return List of them
31 * @see CheckMojo#execute()
32 */
33 Set<Validator> external();
34
35 /**
36 * Get a collection of external validators.
37 *
38 * @return List of them
39 * @see CheckMojo#execute()
40 */
41 Collection<ResourceValidator> externalResource();
42 }