Class SubVersionMatcher

    • Constructor Detail

      • SubVersionMatcher

        public SubVersionMatcher()
    • Method Detail

      • isDynamic

        public boolean isDynamic​(ModuleRevisionId askedMrid)
        Description copied from interface: VersionMatcher
        Indicates if the given asked ModuleRevisionId should be considered as dynamic for the current VersionMatcher or not.
        Parameters:
        askedMrid - the dependency module revision id as asked by a module
        Returns:
        true if this revision is considered as a dynamic one, false otherwise
      • accept

        public boolean accept​(ModuleRevisionId askedMrid,
                              ModuleRevisionId foundMrid)
        Description copied from interface: VersionMatcher
        Indicates if this version matcher considers that the module revision found matches the asked one.
        Parameters:
        askedMrid - ModuleRevisionId
        foundMrid - ModuleRevisionId
        Returns:
        boolean