Package buildbot :: Package changes :: Module filter :: Class ChangeFilter
[frames] | no frames]

Class ChangeFilter

source code

util.ComparableMixin --+
                       |
                      ChangeFilter

Instance Methods
 
__init__(self, filter_fn=None, project=None, project_re=None, project_fn=None, repository=None, repository_re=None, repository_fn=None, branch=NotABranch(), branch_re=None, branch_fn=None, category=None, category_re=None, category_fn=None, codebase=None, codebase_re=None, codebase_fn=None) source code
 
filter_change(self, change) source code
 
__repr__(self) source code

Inherited from util.ComparableMixin: __cmp__, __hash__

Static Methods
 
fromSchedulerConstructorArgs(change_filter=None, branch=NotABranch(), categories=None)
Static method to create a filter based on constructor args change_filter, branch, and categories; use default values @code{None}, @code{NotABranch}, and @code{None}, respectively.
source code
Class Variables
  compare_attrs = ('filter_fn', 'checks')
Method Details

fromSchedulerConstructorArgs(change_filter=None, branch=NotABranch(), categories=None)
Static Method

source code 

Static method to create a filter based on constructor args change_filter, branch, and categories; use default values @code{None}, @code{NotABranch}, and @code{None}, respectively. These arguments are interpreted as documented for the buildbot.schedulers.basic.Scheduler class.

Returns:
ChangeFilter instance or None for not filtering