Interface DependencyPropertyParser.Result

Enclosing class:
DependencyPropertyParser

public static interface DependencyPropertyParser.Result
The result of parsing a dependency property.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.commonjava.atlas.maven.ident.ref.ProjectRef
    Gets the dependency.
    boolean
    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.
    boolean
    matchesModule(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:
      true when 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