Guest User

Untitled

a guest
Jul 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. def associate( self, project):
  2. "called when an extra is first associated with a project."
  3.  
  4. def unassociate( self, project):
  5. "called when an extra is removed from a project."
  6.  
  7. def initialSync( self, project):
  8. """ Does whatever needs doing for an initial sync of the project.
  9. An extra's configuration should add this event to the queue when
  10. it's ready. """
  11.  
  12. def pullProject( self, project ):
  13. """ Should cause a full pull syncronization of this extra from whatever external source
  14. there is. This will be called on a scheduled basis for all active projects. The project
  15. parameter be an apps.projects.models.Project object. """
  16.  
  17. def storyUpdated( self, project, story ):
  18. "Called when a story is updated in a project that this extra is associated with."
  19.  
  20. def storyDeleted( self, project, external_id):
  21. """Called when a story is deleted in a project that this extra is associated with.
  22. Note: the ScrumDo story has already been deleted by the time this method is called. """
  23.  
  24. def storyCreated( self, project, story):
  25. "Called when a story is created in a project that this extra is associated with."
  26.  
  27. def storyStatusChange( self, project, story):
  28. "Called when a story's status has changed in a project that this extra is associated with."
Add Comment
Please, Sign In to add comment