Package nl.zerofiftyit.mdepunit.api
Interface CheckPom
-
- All Known Implementing Classes:
InitAnalyzer
public interface CheckPomTheCheckPominterface provides methods for analyzing and validating specific aspects of a Maven POM file. It facilitates calling a generic function or convenience methods to ensure the POM structure adheres to expected rules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Inclusion<PomAnalyzer>checking(String givenNode)Analyzes and validates the current context of a Maven POM file using theParentPomAnalyzer.Inclusion<ModuleAnalyzer>checkingModule()Provides anInclusion<ModuleAnalyzer>instance for analyzing and validating modules defined in a Maven POM file.
-
-
-
Method Detail
-
checking
Inclusion<PomAnalyzer> checking(String givenNode)
Analyzes and validates the current context of a Maven POM file using theParentPomAnalyzer.- Parameters:
givenNode- the node to analyze within the POM, typically a specific node or section (e.g., "dependencies").- Returns:
- an
Inclusion<PomAnalyzer>object allowing further validation or analysis on the specified context.
-
checkingModule
Inclusion<ModuleAnalyzer> checkingModule()
Provides anInclusion<ModuleAnalyzer>instance for analyzing and validating modules defined in a Maven POM file. This method enables checking whether modules exist, ensuring they contain a `pom.xml` file, and performing additional validations on the specified modules.- Returns:
- an
Inclusion<ModuleAnalyzer>instance, allowing for further validation, checks, or operations related to the defined modules.
-
-