org.apache.ivy.plugins.version
public abstract class AbstractVersionMatcher extends Object implements VersionMatcher, IvySettingsAware
Constructor Summary | |
---|---|
AbstractVersionMatcher() | |
AbstractVersionMatcher(String name) |
Method Summary | |
---|---|
boolean | accept(ModuleRevisionId askedMrid, ModuleDescriptor foundMD) |
int | compare(ModuleRevisionId askedMrid, ModuleRevisionId foundMrid, Comparator staticComparator)
This method should be overriden in most cases, because it uses the default contract to return
1 when it's not possible to know which revision is greater. |
String | getName() |
IvySettings | getSettings() |
boolean | needModuleDescriptor(ModuleRevisionId askedMrid, ModuleRevisionId foundMrid) |
void | setName(String name) |
void | setSettings(IvySettings settings) |
String | toString() |