com.atlassian.greenhopper.service.migration.classicepic
Class ClassicEpicMigrationServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.migration.classicepic.ClassicEpicMigrationServiceImpl
All Implemented Interfaces:
ClassicEpicMigrationService

@Service
public class ClassicEpicMigrationServiceImpl
extends java.lang.Object
implements ClassicEpicMigrationService


Constructor Summary
ClassicEpicMigrationServiceImpl()
           
 
Method Summary
 ServiceOutcome<ClassicEpicMigrationProgress> getEpicMigrationProgress(com.atlassian.crowd.embedded.api.User user, long taskId)
          Get the progress of a migration given the taskId
 ServiceOutcome<ClassicEpicMigrationData> getEpicMigrationSummary(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.project.Project project)
          Calculates the migration data for a given project.
 ServiceOutcome<EpicMigrationStartedResult> migrateEpicsForProjects(com.atlassian.crowd.embedded.api.User user, java.util.Set<com.atlassian.jira.project.Project> projects)
          Starts the migration for the given projects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassicEpicMigrationServiceImpl

public ClassicEpicMigrationServiceImpl()
Method Detail

getEpicMigrationSummary

public ServiceOutcome<ClassicEpicMigrationData> getEpicMigrationSummary(com.atlassian.crowd.embedded.api.User user,
                                                                        com.atlassian.jira.project.Project project)
Description copied from interface: ClassicEpicMigrationService
Calculates the migration data for a given project.

Specified by:
getEpicMigrationSummary in interface ClassicEpicMigrationService

migrateEpicsForProjects

public ServiceOutcome<EpicMigrationStartedResult> migrateEpicsForProjects(com.atlassian.crowd.embedded.api.User user,
                                                                          java.util.Set<com.atlassian.jira.project.Project> projects)
Description copied from interface: ClassicEpicMigrationService
Starts the migration for the given projects. This is a long running task. The status of the task can be consulted by using the task id returned in the model object.

Specified by:
migrateEpicsForProjects in interface ClassicEpicMigrationService

getEpicMigrationProgress

public ServiceOutcome<ClassicEpicMigrationProgress> getEpicMigrationProgress(com.atlassian.crowd.embedded.api.User user,
                                                                             long taskId)
Description copied from interface: ClassicEpicMigrationService
Get the progress of a migration given the taskId

Specified by:
getEpicMigrationProgress in interface ClassicEpicMigrationService


Copyright © 2007-2014 Atlassian. All Rights Reserved.