Package com.atlassian.jira.project.type
Interface ProjectTypeUpdatedNotifier
- All Known Subinterfaces:
ProjectTypeUpdatedRegistrarAndNotifier
- All Known Implementing Classes:
ProjectTypeUpdatedRegistrarImpl
public interface ProjectTypeUpdatedNotifier
Class in charge to send notifications to all
ProjectTypeUpdatedHandler.-
Method Summary
Modifier and TypeMethodDescriptionbooleannotifyAllHandlers(ApplicationUser user, Project project, ProjectTypeKey oldProjectType, ProjectTypeKey newProjectType) Notifies allProjectTypeUpdatedHandlerobjects that a project type update has happened.
-
Method Details
-
notifyAllHandlers
boolean notifyAllHandlers(ApplicationUser user, Project project, ProjectTypeKey oldProjectType, ProjectTypeKey newProjectType) Notifies allProjectTypeUpdatedHandlerobjects that a project type update has happened.- Parameters:
user- The user performing the project updateproject- The project for which the project type has been updatedoldProjectType- The old project typenewProjectType- The new project type- Returns:
- False if any of the handlers failed while handling the notification. True if everything went ok.
-