Class SectionDefinition
java.lang.Object
org.jvnet.hudson.plugins.collapsingconsolesections.SectionDefinition
- All Implemented Interfaces:
Serializable
- Author:
- dty
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSectionDefinition(String sectionName, String sectionStartPattern, String sectionEndPattern) Deprecated.SectionDefinition(String sectionName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel) Deprecated.SectionDefinition(String sectionName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel, boolean collapseSection) Creates a new section definition. -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean
-
Constructor Details
-
SectionDefinition
@Deprecated public SectionDefinition(String sectionName, String sectionStartPattern, String sectionEndPattern) Deprecated. -
SectionDefinition
@Deprecated public SectionDefinition(String sectionName, String sectionStartPattern, String sectionEndPattern, boolean collapseOnlyOneLevel) Deprecated. -
SectionDefinition
public SectionDefinition(@Nonnull String sectionName, @Nonnull String sectionStartPattern, @Nonnull String sectionEndPattern, boolean collapseOnlyOneLevel, boolean collapseSection) throws PatternSyntaxException Creates a new section definition.- Parameters:
sectionName- Name of the sectionsectionStartPattern- Regular expression pattern for the section startsectionEndPattern- Regular expression pattern for the section endcollapseOnlyOneLevel- Iftrue, only one level will be collapsed by the end patterncollapseSection- Iftrue, the section should be collapsed by default- Throws:
PatternSyntaxException- One of the patterns is invalid
-
-
Method Details
-
getSectionDisplayName
-
getSectionDisplayName
-
getSectionStartPattern
-
getSectionEndPattern
-
isCollapseSection
public boolean isCollapseSection() -
isCollapseOnlyOneLevel
public boolean isCollapseOnlyOneLevel()
-
SectionDefinition(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)instead.