Class BmModelManagerLibraryParticipant
java.lang.Object
com.e1c.g5.v8.dt.internal.library.update.BmModelManagerLibraryParticipant
- All Implemented Interfaces:
IBmModelManager.BmModelManagerLifecycleParticipant
public class BmModelManagerLibraryParticipant
extends Object
implements IBmModelManager.BmModelManagerLifecycleParticipant
Library integration with
IBmModelManager
. Participates in IBmModelManager
lifecycle, registers
library sources, performs adaptation of models on integration and so on-
Constructor Summary
ConstructorsConstructorDescriptionBmModelManagerLibraryParticipant
(ILibraryRegistry libraryRegistry, ISupplySettingsManager supplySettingsManager, IVirtualProjectResourceImportService resourceImportService, IServicesOrchestrator serviceOrchestrator, IDependenciesManager dependenciesManager) Constructs an instance -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignAdditionalStores
(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Assign additional stores for the project being startedvoid
updateModelAfterStorageInitialization
(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Updates model right after storage initialization if necessaryvoid
validateAdditionalStores
(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Validates additional stores for the project being started
-
Constructor Details
-
BmModelManagerLibraryParticipant
public BmModelManagerLibraryParticipant(ILibraryRegistry libraryRegistry, ISupplySettingsManager supplySettingsManager, IVirtualProjectResourceImportService resourceImportService, IServicesOrchestrator serviceOrchestrator, IDependenciesManager dependenciesManager) Constructs an instance- Parameters:
libraryRegistry
- TheILibraryRegistry
service reference. Cannot benull
supplySettingsManager
- TheISupplySettingsManager
service reference. Cannot benull
resourceImportService
- TheIVirtualProjectResourceImportService
service reference. Cannot benull
serviceOrchestrator
- TheIServicesOrchestrator
service reference. Cannot benull
dependenciesManager
- TheIDependenciesManager
service reference. Cannot benull
-
-
Method Details
-
validateAdditionalStores
public void validateAdditionalStores(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Description copied from interface:IBmModelManager.BmModelManagerLifecycleParticipant
Validates additional stores for the project being started- Specified by:
validateAdditionalStores
in interfaceIBmModelManager.BmModelManagerLifecycleParticipant
- Parameters:
dtProject
- TheIDtProject
of the starting project. Cannot benull
namespace
- The namespace of the project. Cannot benull
platform
- The BM platform. Cannot benull
isNewProject
- New project flagcleanStart
- Clean start flag
-
assignAdditionalStores
public void assignAdditionalStores(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Description copied from interface:IBmModelManager.BmModelManagerLifecycleParticipant
Assign additional stores for the project being started- Specified by:
assignAdditionalStores
in interfaceIBmModelManager.BmModelManagerLifecycleParticipant
- Parameters:
dtProject
- TheIDtProject
of the starting project. Cannot benull
namespace
- The namespace of the project. Cannot benull
platform
- The BM platform. Cannot benull
isNewProject
- New project flagcleanStart
- Clean start flag
-
updateModelAfterStorageInitialization
public void updateModelAfterStorageInitialization(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Description copied from interface:IBmModelManager.BmModelManagerLifecycleParticipant
Updates model right after storage initialization if necessary- Specified by:
updateModelAfterStorageInitialization
in interfaceIBmModelManager.BmModelManagerLifecycleParticipant
- Parameters:
dtProject
- TheIDtProject
of the starting project. Cannot benull
namespace
- The namespace of the project. Cannot benull
platform
- The BM platform. Cannot benull
isNewProject
- New project flagcleanStart
- Clean start flag
-