public class UpgradeResource extends Object
Constructor and Description |
---|
UpgradeResource(JiraAuthenticationContext jiraAuthenticationContext,
PermissionManager permissionManager,
UpgradeService upgradeService,
DatabaseUpgradeStateManager databaseUpgradeStateManager,
JiraBaseUrls jiraBaseUrls,
com.atlassian.scheduler.SchedulerHistoryService schedulerHistoryService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getUpgradeResult()
Returns the result of the last upgrade task.
|
javax.ws.rs.core.Response |
runUpgradesNow()
Runs any pending delayed upgrade tasks.
|
public UpgradeResource(JiraAuthenticationContext jiraAuthenticationContext, PermissionManager permissionManager, UpgradeService upgradeService, DatabaseUpgradeStateManager databaseUpgradeStateManager, JiraBaseUrls jiraBaseUrls, com.atlassian.scheduler.SchedulerHistoryService schedulerHistoryService)
public javax.ws.rs.core.Response runUpgradesNow()
public javax.ws.rs.core.Response getUpgradeResult()
Response.seeOther(java.net.URI)
if still running.Copyright © 2002-2023 Atlassian. All Rights Reserved.