Class CollapsingSectionNote
java.lang.Object
hudson.console.ConsoleNote
org.jvnet.hudson.plugins.collapsingconsolesections.CollapsingSectionNote
- All Implemented Interfaces:
ExtensionPoint
,Describable
,Serializable
- Author:
- dty
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.console.ConsoleNote
INSECURE, POSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR
-
Constructor Summary
ConstructorDescriptionCollapsingSectionNote
(String sectionDisplayName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel) Deprecated.CollapsingSectionNote
(String sectionDisplayName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel, boolean collapseSection) -
Method Summary
Modifier and TypeMethodDescriptionannotate
(Object context, MarkupText text, int charPos) boolean
boolean
Check if the section should be collapsed by default.Methods inherited from class hudson.console.ConsoleNote
encode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skip
-
Constructor Details
-
CollapsingSectionNote
-
CollapsingSectionNote
@Deprecated public CollapsingSectionNote(String sectionDisplayName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel) Deprecated.
-
-
Method Details
-
getSectionDisplayName
-
getSectionStartPattern
-
getSectionEndPattern
-
isCollapseSection
public boolean isCollapseSection()Check if the section should be collapsed by default.- Returns:
- true if the section should be collapsed.
- Since:
- 1.6.0
-
isCollapseOnlyOneLevel
public boolean isCollapseOnlyOneLevel() -
getDefinition
-
annotate
- Specified by:
annotate
in classConsoleNote
-