com.atlassian.greenhopper.service.migration.sprintmarker
Class SprintMarkerMigrationServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.migration.sprintmarker.SprintMarkerMigrationServiceImpl
All Implemented Interfaces:
SprintMarkerMigrationService

@Service
public class SprintMarkerMigrationServiceImpl
extends java.lang.Object
implements SprintMarkerMigrationService


Constructor Summary
SprintMarkerMigrationServiceImpl()
           
 
Method Summary
 ServiceOutcome<SprintMarkerMigrationProgress> getRapidViewProgress(long taskId)
          Returns the progress of a migration task with the given taskId.
 ServiceOutcome<java.util.List<RapidView>> listUnmigratedRapidViewsOrderedByRelevance()
          Returns a list of rapid views that have been ordered based on following properties 1.
 ServiceOutcome<com.atlassian.fugue.Either<SprintMarkerMigrationProgress,SprintMarkerMigrationBusy>> migrateRapidView(RapidView rapidView, boolean reindexIssues)
          Starts the sprint marker migration of a given rapid view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SprintMarkerMigrationServiceImpl

public SprintMarkerMigrationServiceImpl()
Method Detail

migrateRapidView

public ServiceOutcome<com.atlassian.fugue.Either<SprintMarkerMigrationProgress,SprintMarkerMigrationBusy>> migrateRapidView(RapidView rapidView,
                                                                                                                            boolean reindexIssues)
Description copied from interface: SprintMarkerMigrationService
Starts the sprint marker migration of a given rapid view. Only 1 migration can be running at a time.

Specified by:
migrateRapidView in interface SprintMarkerMigrationService
Returns:

getRapidViewProgress

public ServiceOutcome<SprintMarkerMigrationProgress> getRapidViewProgress(long taskId)
Description copied from interface: SprintMarkerMigrationService
Returns the progress of a migration task with the given taskId.

Specified by:
getRapidViewProgress in interface SprintMarkerMigrationService
Returns:

listUnmigratedRapidViewsOrderedByRelevance

public ServiceOutcome<java.util.List<RapidView>> listUnmigratedRapidViewsOrderedByRelevance()
Description copied from interface: SprintMarkerMigrationService
Returns a list of rapid views that have been ordered based on following properties 1. Active usage by users 2. Creation date (where recently created boards take precedence over older ones)

Specified by:
listUnmigratedRapidViewsOrderedByRelevance in interface SprintMarkerMigrationService
Returns:


Copyright © 2007-2014 Atlassian. All Rights Reserved.