Class PlatformVersionUpdater
java.lang.Object
ru.cg.webbpm.studio.core.migrations.ui.PlatformVersionUpdater
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,Disposable
,ProjectComponent
Updates platform version when detects that platform version in the project is lower than app
version
- Author:
- krylov
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformVersionUpdater
(ApplicationInfo applicationInfo, ProjectManager projectManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
вызывается после открытия проектаint
weight()
определяет порядок того, как для всех слушателей будет вызванProjectComponent.projectOpened()
}.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.cg.webbpm.studio.core.api.components.Disposable
destroy, dispose
Methods inherited from interface ru.cg.webbpm.studio.core.api.components.ProjectComponent
canCloseProject, projectClosed
-
Constructor Details
-
PlatformVersionUpdater
@Autowired public PlatformVersionUpdater(ApplicationInfo applicationInfo, ProjectManager projectManager)
-
-
Method Details
-
projectOpened
public void projectOpened()Description copied from interface:ProjectComponent
вызывается после открытия проекта- Specified by:
projectOpened
in interfaceProjectComponent
-
weight
public int weight()Description copied from interface:ProjectComponent
определяет порядок того, как для всех слушателей будет вызванProjectComponent.projectOpened()
}.- Specified by:
weight
in interfaceProjectComponent
-