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