Trees Indices Help
Trac
Package trac :: Module config :: Class OrderedExtensionsOption

Class OrderedExtensionsOption

source code

object --+ 
 | 
 Option --+ 
 | 
 ListOption --+
 |
 OrderedExtensionsOption

A comma separated, ordered, list of components implementing interface. Can be empty.

If include_missing is true (the default) all components implementing the interface are returned, with those specified by the option ordered first.

Instance Methods
__init__(self, section, name, interface, default=None, include_missing=True, doc='')
Create the configuration option. source code
__get__(self, instance, owner) source code

Inherited from ListOption : accessor

Inherited from Option : __repr__ , __set__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from Option : get_registry

Class Variables

Inherited from Option : registry

Properties

Inherited from object: __class__

Method Details

__init__(self, section, name, interface, default=None, include_missing=True, doc='')
(Constructor)

source code

Create the configuration option.

@param section: the name of the configuration section this option

belongs to

@param name: the name of the option @param default: the default value for the option @param doc: documentation of the option

Overrides: object.__init__
(inherited documentation)

__get__(self, instance, owner)

source code
Overrides: Option.__get__

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /