Created
January 1, 2011 19:25
-
-
Save marc-hughes/761938 to your computer and use it in GitHub Desktop.
Optional methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def associate( self, project): | |
"called when an extra is first associated with a project." | |
def unassociate( self, project): | |
"called when an extra is removed from a project." | |
def initialSync( self, project): | |
""" Does whatever needs doing for an initial sync of the project. | |
An extra's configuration should add this event to the queue when | |
it's ready. """ | |
def pullProject( self, project ): | |
""" Should cause a full pull syncronization of this extra from whatever external source | |
there is. This will be called on a scheduled basis for all active projects. The project | |
parameter be an apps.projects.models.Project object. """ | |
def storyUpdated( self, project, story ): | |
"Called when a story is updated in a project that this extra is associated with." | |
def storyDeleted( self, project, external_id): | |
"""Called when a story is deleted in a project that this extra is associated with. | |
Note: the ScrumDo story has already been deleted by the time this method is called. """ | |
def storyCreated( self, project, story): | |
"Called when a story is created in a project that this extra is associated with." | |
def storyStatusChange( self, project, story): | |
"Called when a story's status has changed in a project that this extra is associated with." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment