Package hudson.search
Class SearchIndexBuilder
java.lang.Object
hudson.search.SearchIndexBuilder
Builds
SearchIndex.
This object is also used to represent partially build search index, much like StringBuilder is often
passed around to cooperatively build search index.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(SearchIndex index) add(SearchIndexBuilder index) add(SearchItem item) Short foradd(urlAsWellAsName,urlAsWellAsName)add(String url, SearchableModelObject searchable, String name) add(String url, SearchableModelObject searchable, String... names) Adds a search index under the keyword 'name' to the given URL.Adds allQuickSilver-annotated properties to the search index.make()
-
Constructor Details
-
SearchIndexBuilder
public SearchIndexBuilder()
-
-
Method Details
-
addAllAnnotations
Adds allQuickSilver-annotated properties to the search index. -
add
Short foradd(urlAsWellAsName,urlAsWellAsName) -
add
Adds a search index under the keyword 'name' to the given URL.- Parameters:
url- Relative URL from the source of the search index.
-
add
-
add
-
add
-
add
-
add
-
add
-
make
-