Class LuceneManager
- java.lang.Object
-
- hudson.model.ManagementLink
-
- org.jenkinsci.plugins.lucene.search.management.LuceneManager
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
@Extension public class LuceneManager extends ManagementLink
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LuceneManager.JSReturnCollection
-
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.Category
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.ManagementLink
LIST
-
-
Constructor Summary
Constructors Constructor Description LuceneManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LuceneManager.JSReturnCollection
abort()
LuceneManager.JSReturnCollection
clean()
void
doPostRebuildDatabase(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, int workers)
void
doStatus(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getDisplayName()
String
getIconFileName()
LuceneManager.JSReturnCollection
getStatus()
String
getUrlName()
LuceneManager.JSReturnCollection
rebuildDatabase(int workers, String jobNames, String overwrite)
void
writeStatus(org.kohsuke.stapler.StaplerResponse rsp, LuceneManager.JSReturnCollection status)
-
Methods inherited from class hudson.model.ManagementLink
all, getCategory, getCategoryName, getDescription, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
rebuildDatabase
@JavaScriptMethod public LuceneManager.JSReturnCollection rebuildDatabase(int workers, String jobNames, String overwrite)
-
doPostRebuildDatabase
public void doPostRebuildDatabase(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter int workers) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
abort
@JavaScriptMethod public LuceneManager.JSReturnCollection abort()
-
clean
@JavaScriptMethod public LuceneManager.JSReturnCollection clean()
-
getStatus
@JavaScriptMethod public LuceneManager.JSReturnCollection getStatus()
-
doStatus
public void doStatus(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
writeStatus
public void writeStatus(org.kohsuke.stapler.StaplerResponse rsp, LuceneManager.JSReturnCollection status) throws IOException
- Throws:
IOException
-
-