org.eclipse.stardust.engine.api.runtime
Interface RepositoryMigrationReport


public interface RepositoryMigrationReport

Reports information about the last migration batch and the migration jobs in general.

Author:
Roland.Stamm

Method Summary
 RepositoryMigrationJobInfo getCurrentMigrationJob()
           
 int getCurrentRepositoryStructureVersion()
           
 int getCurrentRepositoryVersion()
           
 long getResourcesDone()
           
 int getTargetRepositoryStructureVersion()
           
 int getTargetRepositoryVersion()
           
 long getTotalCount()
          Total count of resources which need migration from the current version to the next repository structure version.
 

Method Detail

getTotalCount

long getTotalCount()
Total count of resources which need migration from the current version to the next repository structure version.

Returns:
Total count of resources to be migrated.

getResourcesDone

long getResourcesDone()
Returns:
Fraction of resources that are finished for this migration step.

getCurrentRepositoryVersion

int getCurrentRepositoryVersion()
Returns:
The version of the repository structure currently used.

getTargetRepositoryVersion

int getTargetRepositoryVersion()
Returns:
The target version which is the highest version the repository supports.

getCurrentRepositoryStructureVersion

int getCurrentRepositoryStructureVersion()
Returns:
The current tenant structure of the repository.

getTargetRepositoryStructureVersion

int getTargetRepositoryStructureVersion()
Returns:
The target tenant structure of the repository.

getCurrentMigrationJob

RepositoryMigrationJobInfo getCurrentMigrationJob()
Returns:
information about the current migration job.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.