public class

RenaissanceMigrationPageRedirect

extends Object
implements Startable PageRedirect
java.lang.Object
   ↳ com.atlassian.jira.web.landingpage.RenaissanceMigrationPageRedirect

Class Overview

Redirects admin to the Renaissance migration summary page. Only the first admin to log in is redirected.

Summary

Constants
String PROPERTY_POST_MIGRATION_PAGE_DISPLAYED
Public Constructors
RenaissanceMigrationPageRedirect(ApplicationProperties properties, LandingPageRedirectManager landingPageRedirectManager, GlobalPermissionManager globalPermissionManager, FeatureManager featureManager, RenaissanceMigrationStatus renaissanceMigrationStatus)
Public Methods
@EventListener void onImportCompletedEvent(ImportCompletedEvent event)
void start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
void unregisterSelf()
Optional<String> url(ApplicationUser user)
Gets the URL of the redirect for a given user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.extension.Startable
From interface com.atlassian.jira.web.landingpage.PageRedirect

Constants

public static final String PROPERTY_POST_MIGRATION_PAGE_DISPLAYED

Constant Value: "post.migration.page.displayed"

Public Constructors

public RenaissanceMigrationPageRedirect (ApplicationProperties properties, LandingPageRedirectManager landingPageRedirectManager, GlobalPermissionManager globalPermissionManager, FeatureManager featureManager, RenaissanceMigrationStatus renaissanceMigrationStatus)

Public Methods

@EventListener public void onImportCompletedEvent (ImportCompletedEvent event)

public void start ()

This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.

public void unregisterSelf ()

public Optional<String> url (ApplicationUser user)

Gets the URL of the redirect for a given user. Can return empty option, in that case redirect is not active.

Parameters
user for which redirect should be applied.
Returns
  • URL to which user will be redirected or empty() if this redirect should not be used.