Class: Ivy::IvyAllVersionMatcher

Inherits:
Object
  • Object
show all
Includes:
Java::OrgApacheIvyPluginsVersion::VersionMatcher
Defined in:
lib/ivy/java/all_version_matcher.rb

Overview

Matcher that accepts all versions of the same module as a match, i.e. only checking that the module is the same.

Instance Method Summary collapse

Instance Method Details

#accept(askedMrid, foundMD) ⇒ Object



11
12
13
# File 'lib/ivy/java/all_version_matcher.rb', line 11

def accept(askedMrid, foundMrid)
  true
end

#compare(askedMrid, foundMrid, staticComparator) ⇒ Object



23
24
25
# File 'lib/ivy/java/all_version_matcher.rb', line 23

def compare(askedMrid, foundMrid, staticComparator)
  0
end

#getNameObject



27
28
29
# File 'lib/ivy/java/all_version_matcher.rb', line 27

def getName
  self.class
end

#is_dynamic(askedMrid) ⇒ Object



7
8
9
# File 'lib/ivy/java/all_version_matcher.rb', line 7

def is_dynamic(askedMrid)
  false
end

#need_module_descriptor(askedMrid, foundMrid) ⇒ Object



15
16
17
# File 'lib/ivy/java/all_version_matcher.rb', line 15

def need_module_descriptor(askedMrid, foundMrid)
  false
end