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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description SearchBackendConfiguration()
SearchBackendConfiguration(File lucenePath, boolean useSecurity, boolean luceneSearchEnabled)
SearchBackendConfiguration(String lucenePath, boolean useSecurity, boolean luceneSearchEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
FormValidation
doCheckLucenePath(String lucenePath)
Map<String,Object>
getConfig()
boolean
isLuceneSearchEnabled()
boolean
isUseSecurity()
void
reconfigure()
void
setLucenePath(File lucenePath)
void
setLuceneSearchEnabled(boolean luceneSearchEnabled)
void
setUseSecurity(boolean useSecurity)
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
SearchBackendConfiguration
@DataBoundConstructor public SearchBackendConfiguration(String lucenePath, boolean useSecurity, boolean luceneSearchEnabled)
-
SearchBackendConfiguration
public SearchBackendConfiguration(File lucenePath, boolean useSecurity, boolean luceneSearchEnabled)
-
SearchBackendConfiguration
public SearchBackendConfiguration()
-
-
Method Detail
-
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 classGlobalConfiguration
- Throws:
Descriptor.FormException
-
reconfigure
public void reconfigure() throws IOException
- Throws:
IOException
-
isUseSecurity
public boolean isUseSecurity()
-
setUseSecurity
public void setUseSecurity(boolean useSecurity)
-
isLuceneSearchEnabled
public boolean isLuceneSearchEnabled()
-
setLuceneSearchEnabled
public void setLuceneSearchEnabled(boolean luceneSearchEnabled)
-
-