Interface DependencyPropertyParser.Result
- Enclosing class:
- DependencyPropertyParser
public static interface DependencyPropertyParser.Result
The result of parsing a dependency property.
-
Method Summary
Modifier and TypeMethodDescriptionorg.commonjava.atlas.maven.ident.ref.ProjectRefGets the dependency.booleanReturns whether the module selector is the global wildcard (@*), meaning the rule applies to every project regardless of whether it has group or version coordinates.booleanmatchesModule(org.commonjava.atlas.maven.ident.ref.ProjectRef projectRef) Returns whether the given module matches.
-
Method Details
-
getDependency
org.commonjava.atlas.maven.ident.ref.ProjectRef getDependency()Gets the dependency.- Returns:
- the dependency
-
matchesAllModules
boolean matchesAllModules()Returns whether the module selector is the global wildcard (@*), meaning the rule applies to every project regardless of whether it has group or version coordinates.- Returns:
truewhen the module selector was exactly*
-
matchesModule
boolean matchesModule(org.commonjava.atlas.maven.ident.ref.ProjectRef projectRef) Returns whether the given module matches.- Parameters:
projectRef- the module- Returns:
- whether the given module matches
-