Class CollapsingSectionNote.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ConsoleNote<?>>
-
- hudson.console.ConsoleAnnotationDescriptor
-
- org.jvnet.hudson.plugins.collapsingconsolesections.CollapsingSectionNote.DescriptorImpl
-
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,OnMaster
- Enclosing class:
- CollapsingSectionNote
@Extension public static final class CollapsingSectionNote.DescriptorImpl extends ConsoleAnnotationDescriptor
-
-
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 DescriptorImpl()
-
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
doCheckSectionEndPattern(String sectionEndPattern)
FormValidation
doCheckSectionStartPattern(String sectionStartPattern)
CollapsingSectionsConfiguration
getConfiguration()
String
getDisplayName()
SectionDefinition[]
getSectionDefinitions()
CollapsingSectionNote[]
getSections()
boolean
isNumberingEnabled()
void
load()
void
setSections(CollapsingSectionNote... sections)
-
Methods inherited from class hudson.console.ConsoleAnnotationDescriptor
all, doScriptJs, doStyleCss, hasScript, hasStylesheet
-
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classConsoleAnnotationDescriptor
-
getSections
@Nonnull public CollapsingSectionNote[] getSections()
-
getSectionDefinitions
@Nonnull public SectionDefinition[] getSectionDefinitions()
-
setSections
public void setSections(CollapsingSectionNote... sections)
-
isNumberingEnabled
public boolean isNumberingEnabled()
-
getConfiguration
@Nonnull public CollapsingSectionsConfiguration getConfiguration()
-
load
public void load()
- Overrides:
load
in classDescriptor<ConsoleNote<?>>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<ConsoleNote<?>>
- Throws:
Descriptor.FormException
-
doCheckSectionStartPattern
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckSectionStartPattern(@QueryParameter String sectionStartPattern)
-
doCheckSectionEndPattern
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckSectionEndPattern(@QueryParameter String sectionEndPattern)
-
-