com.atlassian.greenhopper.web.migration
Class ClassicMigrationResource

java.lang.Object
  extended by com.atlassian.greenhopper.web.AbstractResource
      extended by com.atlassian.greenhopper.web.migration.ClassicMigrationResource

public class ClassicMigrationResource
extends AbstractResource

Exposes the functionality for classic migration actions


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
ClassicMigrationResource(ClassicEpicMigrationService classicEpicMigrationService, com.atlassian.jira.project.ProjectManager projectManager)
           
 
Method Summary
 javax.ws.rs.core.Response getEpicsMigrationSummary(java.util.Set<java.lang.Long> projectIds)
          Gets the details of the migration of classic epic links for the given projects.
 javax.ws.rs.core.Response migrationProgress(java.lang.Long taskId)
          Reports the status of a migration task with the given taskId
 javax.ws.rs.core.Response startEpicsMigration(MigrationRequestModel request)
          Starts the classic epic link migration.
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassicMigrationResource

public ClassicMigrationResource(ClassicEpicMigrationService classicEpicMigrationService,
                                com.atlassian.jira.project.ProjectManager projectManager)
Method Detail

getEpicsMigrationSummary

public javax.ws.rs.core.Response getEpicsMigrationSummary(java.util.Set<java.lang.Long> projectIds)
Gets the details of the migration of classic epic links for the given projects. Does not yet start a migration.


startEpicsMigration

public javax.ws.rs.core.Response startEpicsMigration(MigrationRequestModel request)
Starts the classic epic link migration.


migrationProgress

public javax.ws.rs.core.Response migrationProgress(java.lang.Long taskId)
Reports the status of a migration task with the given taskId



Copyright © 2007-2013 Atlassian. All Rights Reserved.