@Component public class PluginUpgradeTask001MigrateTokens extends Object implements com.atlassian.sal.api.upgrade.PluginUpgradeTask
| Constructor and Description | 
|---|
PluginUpgradeTask001MigrateTokens(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory psf,
                                 com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore consumerStore,
                                 com.atlassian.oauth.serviceprovider.ServiceProviderTokenStore serviceProviderTokenStore,
                                 com.atlassian.sal.api.user.UserManager userManager,
                                 com.atlassian.event.api.EventPublisher eventPublisher)  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<com.atlassian.sal.api.message.Message> | 
doUpgrade()  | 
int | 
getBuildNumber()  | 
String | 
getPluginKey()  | 
String | 
getShortDescription()  | 
@Inject
public PluginUpgradeTask001MigrateTokens(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory psf,
                                                 com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore consumerStore,
                                                 com.atlassian.oauth.serviceprovider.ServiceProviderTokenStore serviceProviderTokenStore,
                                                 com.atlassian.sal.api.user.UserManager userManager,
                                                 com.atlassian.event.api.EventPublisher eventPublisher)
public int getBuildNumber()
getBuildNumber in interface com.atlassian.sal.api.upgrade.PluginUpgradeTaskpublic String getShortDescription()
getShortDescription in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask@Nullable public Collection<com.atlassian.sal.api.message.Message> doUpgrade() throws Exception
doUpgrade in interface com.atlassian.sal.api.upgrade.PluginUpgradeTaskExceptionpublic String getPluginKey()
getPluginKey in interface com.atlassian.sal.api.upgrade.PluginUpgradeTaskCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.