Class MigrationManagerImpl
java.lang.Object
ru.cg.webbpm.studio.core.migrations.impl.MigrationManagerImpl
- All Implemented Interfaces:
MigrationManager
- Author:
- krylov
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationManagerImpl
(ProjectManager projectManager, DependencyManager dependencyManager, VersionManager versionManager, List<ObjectExtractor<?, ?>> extractors, List<FileWithVersionsIO<? extends HasVersions>> ioComponents, MigrationRegistry studioMigrationRegistry, MigrationCache migrationCache, PackageContextsHolder contextsHolder, ComponentManager componentManager, FileBasedIndex fileBasedIndex) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isMigratable
(Path file) void
Run migrations on object up to actual versionsvoid
boolean
needToConvert
(Path file)
-
Constructor Details
-
MigrationManagerImpl
@Autowired public MigrationManagerImpl(ProjectManager projectManager, DependencyManager dependencyManager, VersionManager versionManager, List<ObjectExtractor<?, ?>> extractors, List<FileWithVersionsIO<? extends HasVersions>> ioComponents, MigrationRegistry studioMigrationRegistry, MigrationCache migrationCache, PackageContextsHolder contextsHolder, ComponentManager componentManager, FileBasedIndex fileBasedIndex)
-
-
Method Details
-
isMigratable
- Specified by:
isMigratable
in interfaceMigrationManager
-
migrate
Description copied from interface:MigrationManager
Run migrations on object up to actual versions- Specified by:
migrate
in interfaceMigrationManager
- Parameters:
file
- file path
-
migrateProjectFromIndex
public void migrateProjectFromIndex()- Specified by:
migrateProjectFromIndex
in interfaceMigrationManager
-
needToConvert
- Specified by:
needToConvert
in interfaceMigrationManager
-