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,Loadable,OnMaster
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested 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, boolean collectBuildLogs) SearchBackendConfiguration(String lucenePath, boolean useSecurity, boolean luceneSearchEnabled, boolean collectBuildLogs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doCheckLucenePath(String lucenePath) booleanbooleanbooleanvoidvoidsetCollectBuildLogs(boolean collectBuildLogs) voidsetLucenePath(File lucenePath) voidsetLuceneSearchEnabled(boolean luceneSearchEnabled) voidsetUseSecurity(boolean useSecurity) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
SearchBackendConfiguration
@DataBoundConstructor public SearchBackendConfiguration(String lucenePath, boolean useSecurity, boolean luceneSearchEnabled, boolean collectBuildLogs) -
SearchBackendConfiguration
public SearchBackendConfiguration(File lucenePath, boolean useSecurity, boolean luceneSearchEnabled, boolean collectBuildLogs) -
SearchBackendConfiguration
public SearchBackendConfiguration()
-
-
Method Details
-
getLucenePath
-
isCollectBuildLogs
public boolean isCollectBuildLogs() -
setLucenePath
-
doCheckLucenePath
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
reconfigure
- Throws:
IOException
-
getConfig
-
isUseSecurity
public boolean isUseSecurity() -
setUseSecurity
public void setUseSecurity(boolean useSecurity) -
setCollectBuildLogs
public void setCollectBuildLogs(boolean collectBuildLogs) -
isLuceneSearchEnabled
public boolean isLuceneSearchEnabled() -
setLuceneSearchEnabled
public void setLuceneSearchEnabled(boolean luceneSearchEnabled)
-