Package buildbot :: Package schedulers :: Module forcesched :: Class ChoiceStringParameter
[frames] | no frames]

Class ChoiceStringParameter

source code

   object --+    
            |    
BaseParameter --+
                |
               ChoiceStringParameter
Known Subclasses:

A list of strings, allowing the selection of one of the predefined values. The 'strict' parameter controls whether values outside the predefined list of choices are allowed

Instance Methods
 
parse_from_arg(self, s) source code

Inherited from BaseParameter: __init__, getFromKwargs, parse_from_args, setParent, updateFromKwargs

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

Class Variables
  type = ['list']
  choices = []
  strict = True

Inherited from BaseParameter: debug, default, hide, label, multiple, name, parentName, regex, required

Properties

Inherited from BaseParameter: fullName

Inherited from object: __class__

Method Details

parse_from_arg(self, s)

source code 
Overrides: BaseParameter.parse_from_arg