public class RenaissanceMigrationPageRedirect extends Object implements PageRedirect, Startable
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_POST_MIGRATION_PAGE_DISPLAYED |
Constructor and Description |
---|
RenaissanceMigrationPageRedirect(ApplicationProperties properties,
LandingPageRegistrar landingPageRegistrar,
GlobalPermissionManager globalPermissionManager,
RenaissanceMigrationStatus renaissanceMigrationStatus) |
Modifier and Type | Method and Description |
---|---|
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)
Returns an optional URL to which to redirect the user.
|
public static final String PROPERTY_POST_MIGRATION_PAGE_DISPLAYED
public RenaissanceMigrationPageRedirect(ApplicationProperties properties, LandingPageRegistrar landingPageRegistrar, GlobalPermissionManager globalPermissionManager, RenaissanceMigrationStatus renaissanceMigrationStatus)
public Optional<String> url(ApplicationUser user)
PageRedirect
url
in interface PageRedirect
user
- the user to potentially be redirectedOptional.empty()
if no redirection should occurpublic void start()
Startable
@EventListener public void onImportCompletedEvent(ImportCompletedEvent event)
public void unregisterSelf()
Copyright © 2002-2017 Atlassian. All Rights Reserved.