Package trac :: Package ticket :: Module api :: Class IMilestoneChangeListener

Class IMilestoneChangeListener

source code

    object --+    
             |    
core.Interface --+
                 |
                IMilestoneChangeListener

Extension point interface for components that require notification when milestones are created, modified, or deleted.
Instance Methods
 
milestone_created(milestone)
Called when a milestone is created.
source code
 
milestone_changed(milestone, old_values)
Called when a milestone is modified.
source code
 
milestone_deleted(milestone)
Called when a milestone is deleted.
source code

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

Properties

Inherited from object: __class__

Method Details

milestone_changed(milestone, old_values)

source code 

Called when a milestone is modified.

old_values is a dictionary containing the previous values of the milestone properties that changed. Currently those properties can be 'name', 'due', 'completed', or 'description'.