Package org.apache.ivy.core.search
Class SearchEngine
java.lang.Object
org.apache.ivy.core.search.SearchEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindModuleRevisionIds
(DependencyResolver resolver, ModuleRevisionId pattern, PatternMatcher matcher) 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.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.listModules
(DependencyResolver resolver, ModuleRevisionId moduleCrit, PatternMatcher matcher) List modules matching a given criteria, available in the given dependency resolver.String[]
listRevisionEntries
(ModuleEntry module) String[]
listRevisions
(String org, String module) String[]
listTokenValues
(String token, Map<String, Object> otherTokenValues) Returns an empty array when no token values are found.
-
Constructor Details
-
SearchEngine
-
-
Method Details
-
listTokenValues
Returns an empty array when no token values are found.- Parameters:
token
- dittootherTokenValues
- Map- Returns:
- String[]
-
listOrganisationEntries
-
listOrganisations
-
listModuleEntries
-
listModules
-
listRevisionEntries
-
listRevisions
-
listModules
List module ids of the module accessible through the current resolvers matching the given mid criteria according to the given matcher.ModuleId are returned in the system namespace.
- Parameters:
moduleCrit
- ModuleIdmatcher
- PatternMatcher- Returns:
- ModuleId[]
-
listModules
List module revision ids of the module accessible through the current resolvers matching the given mrid criteria according to the given matcher.ModuleRevisionId are returned in the system namespace.
- Parameters:
moduleCrit
- ModuleRevisionIdmatcher
- PatternMatcher- Returns:
- ModuleRevisionId[]
-
listModules
public ModuleRevisionId[] listModules(DependencyResolver resolver, ModuleRevisionId moduleCrit, PatternMatcher matcher) List modules matching a given criteria, available in the given dependency resolver.ModuleRevisionId are returned in the system namespace.
- Parameters:
resolver
- the resolver in which modules should looked upmoduleCrit
- the criteria to matchmatcher
- the matcher to use to match criteria- Returns:
- an array of matching module revision ids
-
findModuleRevisionIds
public Collection<ModuleRevisionId> findModuleRevisionIds(DependencyResolver resolver, ModuleRevisionId pattern, PatternMatcher matcher)
-