hudson.search
Class FixedSet

java.lang.Object
  extended by hudson.search.FixedSet
All Implemented Interfaces:
SearchIndex

public class FixedSet
extends Object
implements SearchIndex

Set of SearchItems that are statically known upfront.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from interface hudson.search.SearchIndex
EMPTY
 
Constructor Summary
FixedSet(Collection<? extends SearchItem> items)
           
FixedSet(SearchItem... items)
           
 
Method Summary
 void find(String token, List<SearchItem> result)
           
 void suggest(String token, List<SearchItem> result)
          This method returns the superset of SearchIndex.find(String, List).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedSet

public FixedSet(Collection<? extends SearchItem> items)

FixedSet

public FixedSet(SearchItem... items)
Method Detail

find

public void find(String token,
                 List<SearchItem> result)
Specified by:
find in interface SearchIndex

suggest

public void suggest(String token,
                    List<SearchItem> result)
Description copied from interface: SearchIndex
This method returns the superset of SearchIndex.find(String, List).

Specified by:
suggest in interface SearchIndex


Copyright © 2004-2013. All Rights Reserved.