- All Implemented Interfaces:
public abstract class SearchFactory extends Object implements ExtensionPointCreates a
Searchinstance for a
This allows you to plug in different backends to the search, such as full-text search, or more intelligent user-sensitive search, etc. Puts @
Extensionannotation on your implementation to have it registered.
Right now, there's no user control over which
SearchFactorytakes priority, but we may do so later.
- Kohsuke Kawaguchi
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
Constructors Constructor Description
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description
all()Returns all the registered
createFor(SearchableModelObject owner)Creates a
public abstract Search createFor(SearchableModelObject owner)Creates a
Searchobject. This method needs to execute quickly (without actually executing any search), since it is created per incoming HTTP response.
SearchableModelObjectobject for which we are creating the search. The returned object will provide the search for this object.
- null if your factory isn't interested in creating a
Searchobject. The next factory will get a chance to act on it.
public static ExtensionList<SearchFactory> all()Returns all the registered