mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 17:46:03 +00:00
adding users to the search index.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4929 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
4ae7e62fa7
commit
bf591b8cb4
1 file changed
+4
@@ -700,6 +700,10 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
|
||||
protected Computer get(String key) { return getComputer(key); }
|
||||
protected Collection<Computer> all() { return computers.values(); }
|
||||
})
|
||||
.add(new CollectionSearchIndex() {// for users
|
||||
protected User get(String key) { return getUser(key); }
|
||||
protected Collection<User> all() { return Collections.emptySet(); } // TODO
|
||||
})
|
||||
.add(new CollectionSearchIndex() {// for views
|
||||
protected View get(String key) { return getView(key); }
|
||||
protected Collection<ListView> all() { return views; }
|
||||
|
||||
Reference in new issue
Block a user