Class SearchBackendConfiguration

java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.lucene.search.config.SearchBackendConfiguration
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, OnMaster

@Extension public class SearchBackendConfiguration extends GlobalConfiguration
  • Constructor Details

    • SearchBackendConfiguration

      @DataBoundConstructor public SearchBackendConfiguration(String lucenePath, boolean useSecurity, boolean luceneSearchEnabled)
    • SearchBackendConfiguration

      public SearchBackendConfiguration(File lucenePath, boolean useSecurity, boolean luceneSearchEnabled)
    • SearchBackendConfiguration

      public SearchBackendConfiguration()
  • Method Details

    • getLucenePath

      public File getLucenePath()
    • setLucenePath

      public void setLucenePath(File lucenePath)
    • doCheckLucenePath

      public FormValidation doCheckLucenePath(@QueryParameter String lucenePath)
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • reconfigure

      public void reconfigure() throws IOException
      Throws:
      IOException
    • getConfig

      public Map<String,Object> getConfig()
    • isUseSecurity

      public boolean isUseSecurity()
    • setUseSecurity

      public void setUseSecurity(boolean useSecurity)
    • isLuceneSearchEnabled

      public boolean isLuceneSearchEnabled()
    • setLuceneSearchEnabled

      public void setLuceneSearchEnabled(boolean luceneSearchEnabled)