Package jetbrains.buildServer.vcs.impl
Class VcsChangesMigrator8to9
- java.lang.Object
-
- jetbrains.buildServer.vcs.impl.VcsChangesMigrator8to9
-
public class VcsChangesMigrator8to9 extends Object
Migrates VCS change from version 8 tables to version 9.- Author:
- Leonid Bushuev from JetBrains
-
-
Constructor Summary
Constructors Constructor Description VcsChangesMigrator8to9(DBFunctionsProvider dbfProvider, VcsChangesStorage changesStorage, EventDispatcher<BuildServerListener> dispatcher)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetProgress()Returns the progress how much work done.booleanhasDataToConvert()voidinit()booleanisAlive()booleanisCompleted()booleanisStopping()static inttoBounds(int x, int minimum, int maximum)
-
-
-
Constructor Detail
-
VcsChangesMigrator8to9
public VcsChangesMigrator8to9(@NotNull DBFunctionsProvider dbfProvider, @NotNull VcsChangesStorage changesStorage, @NotNull EventDispatcher<BuildServerListener> dispatcher)
-
-
Method Detail
-
init
public void init()
-
getProgress
public int getProgress()
Returns the progress how much work done.- Returns:
- percentage: 0% means just began, 100% means all converted.
-
toBounds
public static int toBounds(int x, int minimum, int maximum)
-
hasDataToConvert
public boolean hasDataToConvert()
-
isStopping
public boolean isStopping()
-
isCompleted
public boolean isCompleted()
-
isAlive
public boolean isAlive()
-
-