Class LuceneManager
java.lang.Object
hudson.model.ManagementLink
org.jenkinsci.plugins.lucene.search.management.LuceneManager
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
-
Nested Class Summary
Nested ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionabort()
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) 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
-
Constructor Details
-
LuceneManager
public LuceneManager()
-
-
Method Details
-
getDisplayName
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
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
-
clean
-
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
-