org.apache.ivy.core.search
public class SearchEngine extends Object
| Constructor Summary | |
|---|---|
| SearchEngine(IvySettings settings) | |
| Method Summary | |
|---|---|
| Collection | findModuleRevisionIds(DependencyResolver resolver, ModuleRevisionId pattern, PatternMatcher matcher) |
| ModuleEntry[] | listModuleEntries(OrganisationEntry org) |
| String[] | listModules(String org) |
| ModuleId[] | listModules(ModuleId moduleCrit, PatternMatcher matcher)
List module ids of the module accessible through the current resolvers matching the given mid
criteria according to the given matcher.
|
| ModuleRevisionId[] | listModules(ModuleRevisionId moduleCrit, PatternMatcher matcher)
List module revision ids of the module accessible through the current resolvers matching the
given mrid criteria according to the given matcher.
|
| ModuleRevisionId[] | listModules(DependencyResolver resolver, ModuleRevisionId moduleCrit, PatternMatcher matcher)
List modules matching a given criteria, available in the given dependency resolver.
|
| OrganisationEntry[] | listOrganisationEntries() |
| String[] | listOrganisations() |
| RevisionEntry[] | listRevisionEntries(ModuleEntry module) |
| String[] | listRevisions(String org, String module) |
| String[] | listTokenValues(String token, Map otherTokenValues)
Returns an empty array when no token values are found.
|
ModuleId are returned in the system namespace.
Parameters: criteria matcher
Returns:
ModuleRevisionId are returned in the system namespace.
Parameters: criteria matcher
Returns:
ModuleRevisionId are returned in the system namespace.
Parameters: resolver the resolver in which modules should looked up moduleCrit the criteria to match matcher the matcher to use to match criteria
Returns: an array of matching module revision ids
Parameters: token otherTokenValues
Returns: