Package hudson.search
Class CollectionSearchIndex<SMT extends SearchableModelObject>
java.lang.Object
hudson.search.CollectionSearchIndex<SMT>
- All Implemented Interfaces:
 SearchIndex
public abstract class CollectionSearchIndex<SMT extends SearchableModelObject>
extends Object
implements SearchIndex
SearchIndex built on a Map.- Author:
 - Kohsuke Kawaguchi
 
- 
Field Summary
Fields inherited from interface hudson.search.SearchIndex
EMPTY - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Collection<SMT>all()Returns all items in the map.voidfind(String token, List<SearchItem> result) protected abstract SearchItemGets a single item that exactly matches the given key.protected Stringvoidsuggest(String token, List<SearchItem> result) This method returns the superset ofSearchIndex.find(String, List). 
- 
Constructor Details
- 
CollectionSearchIndex
public CollectionSearchIndex() 
 - 
 - 
Method Details
- 
get
Gets a single item that exactly matches the given key. - 
all
Returns all items in the map. The collection can include null items. - 
allAsIterable
 - 
find
- Specified by:
 findin interfaceSearchIndex
 - 
suggest
Description copied from interface:SearchIndexThis method returns the superset ofSearchIndex.find(String, List).- Specified by:
 suggestin interfaceSearchIndex
 - 
getName
 
 -