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 * @since 0.3
15 */
16 interface ValidatorsProvider {
17
18 /**
19 * Get a collection of internal validators.
20 * @return List of them
21 * @see CheckMojo#execute()
22 */
23 Set<MavenValidator> internal();
24
25 /**
26 * Get a collection of external validators.
27 * @return List of them
28 * @see CheckMojo#execute()
29 */
30 Set<Validator> external();
31
32 /**
33 * Get a collection of external validators.
34 * @return List of them
35 * @see CheckMojo#execute()
36 */
37 Collection<ResourceValidator> externalResource();
38 }