public interface

PostSetupAnnouncementService

com.atlassian.jira.onboarding.postsetup.PostSetupAnnouncementService
Known Indirect Subclasses

Summary

Public Methods
void activitiesAnnounced(Option<ApplicationUser> user, List<String> activityIds)
Marks given announcements as announced, so they no longer will be reported as ready
@Nonnull List<PostSetupAnnouncementStatus> getReadyAnnouncements(Option<ApplicationUser> user)
Get list of post setup announcements that are ready to be shown to user.
boolean hasAnnouncements(Option<ApplicationUser> user)
Gives information if there are any announcements ready to show to user.
void recalculateStatuses(Option<ApplicationUser> user)
Forces recalculation of post setup announcement statuses
void reset(Option<ApplicationUser> user)
Reset all announcements to await state.

Public Methods

public void activitiesAnnounced (Option<ApplicationUser> user, List<String> activityIds)

Marks given announcements as announced, so they no longer will be reported as ready

@Nonnull public List<PostSetupAnnouncementStatus> getReadyAnnouncements (Option<ApplicationUser> user)

Get list of post setup announcements that are ready to be shown to user.

public boolean hasAnnouncements (Option<ApplicationUser> user)

Gives information if there are any announcements ready to show to user.

public void recalculateStatuses (Option<ApplicationUser> user)

Forces recalculation of post setup announcement statuses

public void reset (Option<ApplicationUser> user)

Reset all announcements to await state. Next call to recalculateStatuses will recalculate all registered announcements.