public abstract class SearchBackend extends Object
| Constructor and Description |
|---|
SearchBackend(SearchBackendEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cleanDeletedBuilds(Progress progress,
hudson.model.Job<?,?> job) |
abstract void |
cleanDeletedJobs(Progress progress) |
abstract void |
deleteJob(String jobName) |
protected String[] |
getAllDefaultSearchableFields() |
protected String[] |
getAllFields() |
SearchBackendEngine |
getEngine() |
abstract List<FreeTextSearchItemImplementation> |
getHits(String query,
boolean includeHighlights) |
void |
rebuildDatabase(ManagerProgress progress) |
void |
rebuildJob(Progress progress,
hudson.model.Job<?,?> job) |
abstract SearchBackend |
reconfigure(Map<String,Object> config) |
abstract void |
removeBuild(hudson.model.AbstractBuild<?,?> build) |
abstract void |
storeBuild(hudson.model.AbstractBuild<?,?> build) |
public SearchBackend(SearchBackendEngine engine)
public abstract void storeBuild(hudson.model.AbstractBuild<?,?> build)
throws IOException
IOExceptionpublic abstract List<FreeTextSearchItemImplementation> getHits(String query, boolean includeHighlights)
public final SearchBackendEngine getEngine()
public abstract SearchBackend reconfigure(Map<String,Object> config)
public abstract void removeBuild(hudson.model.AbstractBuild<?,?> build)
public abstract void cleanDeletedBuilds(Progress progress, hudson.model.Job<?,?> job)
public abstract void cleanDeletedJobs(Progress progress)
public abstract void deleteJob(String jobName)
public void rebuildJob(Progress progress, hudson.model.Job<?,?> job) throws IOException
IOExceptionpublic void rebuildDatabase(ManagerProgress progress)
protected String[] getAllDefaultSearchableFields()
protected String[] getAllFields()
Copyright © 2004-2015. All Rights Reserved.