A C D E G H I M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- allRegisteredModulesExist() - Method in class nl.zerofiftyit.mdepunit.core.validation.ModuleAnalyzer
-
Validates the existence of all registered modules listed in the POM elements and checks if they are properly structured with a `pom.xml` file.
- analyzePom() - Static method in class nl.zerofiftyit.mdepunit.core.validation.InitAnalyzer
-
Analyzes the POM file located at the default path "pom.xml" and returns an instance of PomAnalyzer to facilitate further checks or validations.
- analyzePom(String) - Static method in class nl.zerofiftyit.mdepunit.core.validation.InitAnalyzer
-
Analyzes the specified POM file and returns an instance of PomAnalyzer to facilitate further checks or validations on the POM file's content.
- and() - Method in class nl.zerofiftyit.mdepunit.dsl.Statement
-
Allows for a and condition to apply to validations.
- applyNegateNext() - Method in class nl.zerofiftyit.mdepunit.model.NegateNext
-
Toggles the "negate next" flag, reversing its current state.
C
- checkForErrors() - Method in class nl.zerofiftyit.mdepunit.core.validation.ResultCaller
-
Appends all error messages to the internal string builder if any error messages are present in the instance.
- checking(String) - Method in interface nl.zerofiftyit.mdepunit.api.CheckPom
-
Analyzes and validates the current context of a Maven POM file using the
ParentPomAnalyzer. - checking(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.InitAnalyzer
-
Analyzes the provided POM structure from the given node and returns an
Inclusionobject containing aPomAnalyzerinstance for further validation or analysis. - checkingModule() - Method in interface nl.zerofiftyit.mdepunit.api.CheckPom
-
Provides an
Inclusion<ModuleAnalyzer>instance for analyzing and validating modules defined in a Maven POM file. - checkingModule() - Method in class nl.zerofiftyit.mdepunit.core.validation.InitAnalyzer
-
Provides an
Inclusion<ModuleAnalyzer>instance for analyzing and validating modules defined in a Maven POM file. - CheckPom - Interface in nl.zerofiftyit.mdepunit.api
-
The
CheckPominterface provides methods for analyzing and validating specific aspects of a Maven POM file. - clearErrors() - Method in class nl.zerofiftyit.mdepunit.core.validation.ResultCaller
-
Clears error messages and resets the internal state.
- COMPILE - nl.zerofiftyit.mdepunit.model.DependencyScope
-
The default scope, used for dependencies required during both compilation and runtime.
- containModuleNode(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.ModuleAnalyzer
-
Checks if the specified module node exists within the analyzed POM elements.
- containValue(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.DefaultAnalyzerImpl
-
Checks if the given value exists within the given node of the analyzed POM elements.
- containValue(String) - Method in interface nl.zerofiftyit.mdepunit.api.DefaultAnalyzer
-
Checks whether the specified value is present within the given node of the analyzed POM elements.
D
- DefaultAnalyzer - Interface in nl.zerofiftyit.mdepunit.api
- DefaultAnalyzerImpl - Class in nl.zerofiftyit.mdepunit.core.validation
- DefaultAnalyzerImpl(String, List<PomElement>, ResultCaller, NegateNext, List<String>) - Constructor for class nl.zerofiftyit.mdepunit.core.validation.DefaultAnalyzerImpl
-
Constructs an instance of DefaultAnalyzer with the given parameters.
- DependencyScope - Enum in nl.zerofiftyit.mdepunit.model
-
Defines the various dependency scopes that can be assigned to Maven dependencies.
E
- equalsValue(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.DefaultAnalyzerImpl
- equalsValue(String) - Method in interface nl.zerofiftyit.mdepunit.api.DefaultAnalyzer
-
Checks whether the specified value exactly matches the value present in the corresponding node of the analyzed POM elements.
G
- getAllElements() - Method in class nl.zerofiftyit.mdepunit.core.parse.PomReader
-
Retrieves all elements from the parsed Maven POM file as a set of PomElement objects.
- getPath() - Method in class nl.zerofiftyit.mdepunit.model.PomElement
-
Retrieves the path associated with this POM element.
- getPomElements() - Method in class nl.zerofiftyit.mdepunit.core.validation.DefaultAnalyzerImpl
- getValue() - Method in class nl.zerofiftyit.mdepunit.model.PomElement
-
Retrieves the value associated with this POM element.
H
- haveProperty(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.PomAnalyzer
-
Checks whether the Maven POM contains a specific property.
- haveTag(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.DefaultAnalyzerImpl
-
Checks if the given tag name exists within the given node of the analyzed POM elements.
- haveTag(String) - Method in interface nl.zerofiftyit.mdepunit.api.DefaultAnalyzer
-
Checks if the specified tag name exists within the corresponding node of the analyzed POM elements.
I
- Inclusion<T> - Class in nl.zerofiftyit.mdepunit.dsl
-
Represents an inclusion rule with optional negation logic.
- Inclusion(T, NegateNext) - Constructor for class nl.zerofiftyit.mdepunit.dsl.Inclusion
-
Constructs an Inclusion instance with the specified value and negation logic.
- InitAnalyzer - Class in nl.zerofiftyit.mdepunit.core.validation
-
The
PomAnalyzerclass provides functionality for analyzing and validating Maven POM (Project Object Model) files. - isNegateNext() - Method in class nl.zerofiftyit.mdepunit.model.NegateNext
-
Checks if the "negate next" flag is currently set.
M
- ModuleAnalyzer - Class in nl.zerofiftyit.mdepunit.core.validation
- ModuleAnalyzer(String, List<PomElement>, ResultCaller, NegateNext, List<String>) - Constructor for class nl.zerofiftyit.mdepunit.core.validation.ModuleAnalyzer
-
Constructs a new instance of
ModuleAnalyzerwith the specified parameters. - moduleExists(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.ModuleAnalyzer
-
Validates if a module with the given name exists and contains a `pom.xml` file.
N
- NegateNext - Class in nl.zerofiftyit.mdepunit.model
-
Represents a utility class for managing a "negate next" boolean flag.
- NegateNext() - Constructor for class nl.zerofiftyit.mdepunit.model.NegateNext
- nl.zerofiftyit.mdepunit.api - package nl.zerofiftyit.mdepunit.api
-
API package for the POM analysis tool.
- nl.zerofiftyit.mdepunit.core - package nl.zerofiftyit.mdepunit.core
-
Core package for the POM analysis tool.
- nl.zerofiftyit.mdepunit.core.parse - package nl.zerofiftyit.mdepunit.core.parse
-
Core parsing package for the POM analysis tool.
- nl.zerofiftyit.mdepunit.core.validation - package nl.zerofiftyit.mdepunit.core.validation
-
Core validation package for the POM analysis tool.
- nl.zerofiftyit.mdepunit.dsl - package nl.zerofiftyit.mdepunit.dsl
-
Domain-Specific Language (DSL) package for the POM analysis tool.
- nl.zerofiftyit.mdepunit.exception - package nl.zerofiftyit.mdepunit.exception
-
Exception package for the POM analysis tool.
- nl.zerofiftyit.mdepunit.model - package nl.zerofiftyit.mdepunit.model
-
Model package for the POM analysis tool.
O
- or() - Method in class nl.zerofiftyit.mdepunit.dsl.Statement
-
Defines an "or" conditional in the validation chain.
P
- PomAnalyzer - Class in nl.zerofiftyit.mdepunit.core.validation
- PomAnalyzer(String, List<PomElement>, ResultCaller, NegateNext, List<String>) - Constructor for class nl.zerofiftyit.mdepunit.core.validation.PomAnalyzer
-
Constructs a new instance of the
PomAnalyzerclass, which extends the functionality ofDefaultAnalyzerwith additional convenience methods for analyzing and validating. - PomElement - Class in nl.zerofiftyit.mdepunit.model
-
Represents a POM (Project Object Model) element with a specific path and value.
- PomElement(String, Object) - Constructor for class nl.zerofiftyit.mdepunit.model.PomElement
-
Constructs a new PomElement with the specified path and value.
- PomReader - Class in nl.zerofiftyit.mdepunit.core.parse
-
A class for reading Maven POM (Project Object Model) files.
- PomReader(String) - Constructor for class nl.zerofiftyit.mdepunit.core.parse.PomReader
-
Constructs a new instance of the
PomReaderclass and reads the Maven POM file from the specified file path. - PomValidationException - Exception in nl.zerofiftyit.mdepunit.exception
-
Exception thrown when POM validation fails.
- PomValidationException(String) - Constructor for exception nl.zerofiftyit.mdepunit.exception.PomValidationException
-
Constructs a new PomValidationException with the specified error message.
- PROVIDED - nl.zerofiftyit.mdepunit.model.DependencyScope
-
Specifies dependencies required at compile time but expected to be provided at runtime.
R
- ResultCaller - Class in nl.zerofiftyit.mdepunit.core.validation
-
The
ResultCallerclass serves as a utility for managing and validating potential error states during operations. - ResultCaller(List<String>) - Constructor for class nl.zerofiftyit.mdepunit.core.validation.ResultCaller
-
Constructs a
ResultCallerinstance with the provided list of error messages. - RUNTIME - nl.zerofiftyit.mdepunit.model.DependencyScope
-
Specifies dependencies required during execution but not for compilation.
S
- should() - Method in class nl.zerofiftyit.mdepunit.dsl.Inclusion
-
Returns the value associated with this inclusion rule.
- shouldNot() - Method in class nl.zerofiftyit.mdepunit.dsl.Inclusion
-
Applies negation logic to the subsequent operation and returns the associated value.
- Statement<T> - Class in nl.zerofiftyit.mdepunit.dsl
- Statement() - Constructor for class nl.zerofiftyit.mdepunit.dsl.Statement
T
- TEST - nl.zerofiftyit.mdepunit.model.DependencyScope
-
Used for dependencies only required for testing purposes, not included in the final artifact.
- toString() - Method in enum nl.zerofiftyit.mdepunit.model.DependencyScope
- toString() - Method in class nl.zerofiftyit.mdepunit.model.NegateNext
-
Returns a string representation of the "NegateNext" object, including the current state of the "negateNext" flag.
V
- validate() - Method in class nl.zerofiftyit.mdepunit.core.validation.ResultCaller
-
Validates the current instance by checking for any accumulated error messages.
- validate() - Method in class nl.zerofiftyit.mdepunit.dsl.Statement
-
Validates the current instance by checking for any accumulated error messages.
- validate(String) - Method in class nl.zerofiftyit.mdepunit.core.validation.ResultCaller
-
Validates the current instance with a specific reason for validation.
- validate(String) - Method in class nl.zerofiftyit.mdepunit.dsl.Statement
-
Validates the current instance with a specific reason for validation.
- valueOf(String) - Static method in enum nl.zerofiftyit.mdepunit.model.DependencyScope
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum nl.zerofiftyit.mdepunit.model.DependencyScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages