pyjen.plugins.sectionedview_textsection module

Primitives for controlling plain text view sub-sections on a sectioned view

This is a plugin supported by the SectionedView plugin

pyjen.plugins.sectionedview_textsection.PluginClass

alias of pyjen.plugins.sectionedview_textsection.TextSection

class pyjen.plugins.sectionedview_textsection.TextSection(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

One of several ‘section’ types defined for a sectioned view

Sections of this type contain simple descriptive text

Parameters

node (xml.etree.ElementTree.Element) – XML node with the decoded XML data associated with a plugin

static get_jenkins_plugin_name()[source]

str: the name of the Jenkins plugin associated with this PyJen plugin

This static method is used by the PyJen plugin API to associate this class with a specific Jenkins plugin, as it is encoded in the config.xml

classmethod instantiate(section_name)[source]

Factory method for creating a new Git SCM code block

Parameters

section_name (str) – Text to appear at the top of the section

Returns

instance of this class

Return type

TextSection

property name

the title text of this section

Type

str