Package hudson.plugins.sectioned_view
Class SectionedViewSectionDescriptor
java.lang.Object
hudson.model.Descriptor<SectionedViewSection>
hudson.plugins.sectioned_view.SectionedViewSectionDescriptor
- Direct Known Subclasses:
- FolderViewSection.DescriptorImpl,- JobGraphsSection.DescriptorImpl,- ListViewSection.DescriptorImpl,- TestResultViewSection.DescriptorImpl,- TextSection.DescriptorImpl,- ViewListingSection.DescriptorImpl
- 
Nested Class SummaryNested classes/interfaces inherited from class hudson.model.DescriptorDescriptor.FormException, Descriptor.PropertyType, Descriptor.Self
- 
Field SummaryFields inherited from class hudson.model.Descriptorclazz
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedSectionedViewSectionDescriptor(Class<? extends SectionedViewSection> clazz) 
- 
Method SummaryModifier and TypeMethodDescriptiondoCheckIncludeRegex(String value) Checks if the include regular expression is valid.static StringescapeJobName(String name) Utility method which escapes job names so that they can be safely inserted into the name field of HTML inputs.booleannewInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.DescriptoraddHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
- 
Constructor Details- 
SectionedViewSectionDescriptor
- 
SectionedViewSectionDescriptorprotected SectionedViewSectionDescriptor()
 
- 
- 
Method Details- 
hasJobFilterExtensionspublic boolean hasJobFilterExtensions()
- 
newInstancepublic SectionedViewSection newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
- newInstancein class- Descriptor<SectionedViewSection>
- Throws:
- Descriptor.FormException
 
- 
doCheckIncludeRegexpublic FormValidation doCheckIncludeRegex(@QueryParameter String value) throws IOException, jakarta.servlet.ServletException, InterruptedException Checks if the include regular expression is valid.- Throws:
- IOException
- jakarta.servlet.ServletException
- InterruptedException
 
- 
escapeJobNameUtility method which escapes job names so that they can be safely inserted into the name field of HTML inputs. Escaping is needed since job names may contain characters which have special meaning in name fields of HTML inputs. For example the dot (.) character, in a name field Jenkins input handling (Stapler) will treat the dot as an hierarchical separation and split the name on the dot, which in this case is unwanted. So in order to mitigate that dots are replaces with a character which are disallowed in job names and have no special meaning in input fields, e.g. hash tag (#).- Parameters:
- name- Job name to be escaped before insertion into HTML input name
- Returns:
- Escaped job name
 
 
-