Class CollapsingSectionNote

java.lang.Object
hudson.console.ConsoleNote
org.jvnet.hudson.plugins.collapsingconsolesections.CollapsingSectionNote
All Implemented Interfaces:
ExtensionPoint, Describable, Serializable

public class CollapsingSectionNote extends ConsoleNote
Author:
dty
See Also:
  • Constructor Details

    • CollapsingSectionNote

      @DataBoundConstructor public CollapsingSectionNote(@Nonnull String sectionDisplayName, @Nonnull String sectionStartPattern, @Nonnull String sectionEndPattern, boolean collapseOnlyOneLevel, boolean collapseSection)
    • CollapsingSectionNote

      @Deprecated public CollapsingSectionNote(String sectionDisplayName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel)
      Deprecated.
  • Method Details

    • getSectionDisplayName

      @Nonnull public String getSectionDisplayName()
    • getSectionStartPattern

      @Nonnull public String getSectionStartPattern()
    • getSectionEndPattern

      @Nonnull public String 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

      @Nonnull public SectionDefinition getDefinition()
    • annotate

      public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos)
      Specified by:
      annotate in class ConsoleNote