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
-
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
ConstructorsConstructorDescriptionSearchBackendConfiguration
(File lucenePath, boolean useSecurity, boolean luceneSearchEnabled) SearchBackendConfiguration
(String lucenePath, boolean useSecurity, boolean luceneSearchEnabled) -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) doCheckLucenePath
(String lucenePath) boolean
boolean
void
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 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
-
setLucenePath
-
doCheckLucenePath
-
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
- Throws:
IOException
-
getConfig
-
isUseSecurity
public boolean isUseSecurity() -
setUseSecurity
public void setUseSecurity(boolean useSecurity) -
isLuceneSearchEnabled
public boolean isLuceneSearchEnabled() -
setLuceneSearchEnabled
public void setLuceneSearchEnabled(boolean luceneSearchEnabled)
-