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 TypeMethodDescriptionvoidassignAdditionalStores(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Assign additional stores for the project being startedvoidupdateModelAfterStorageInitialization(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Updates model right after storage initialization if necessaryvoidvalidateAdditionalStores(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- TheILibraryRegistryservice reference. Cannot benullsupplySettingsManager- TheISupplySettingsManagerservice reference. Cannot benullresourceImportService- TheIVirtualProjectResourceImportServiceservice reference. Cannot benullserviceOrchestrator- TheIServicesOrchestratorservice reference. Cannot benulldependenciesManager- TheIDependenciesManagerservice reference. Cannot benull
-
-
Method Details
-
validateAdditionalStores
public void validateAdditionalStores(IDtProject dtProject, IBmNamespace namespace, BmPlatform platform, boolean isNewProject, boolean cleanStart) Description copied from interface:IBmModelManager.BmModelManagerLifecycleParticipantValidates additional stores for the project being started- Specified by:
validateAdditionalStoresin interfaceIBmModelManager.BmModelManagerLifecycleParticipant- Parameters:
dtProject- TheIDtProjectof the starting project. Cannot benullnamespace- The namespace of the project. Cannot benullplatform- The BM platform. Cannot benullisNewProject- 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.BmModelManagerLifecycleParticipantAssign additional stores for the project being started- Specified by:
assignAdditionalStoresin interfaceIBmModelManager.BmModelManagerLifecycleParticipant- Parameters:
dtProject- TheIDtProjectof the starting project. Cannot benullnamespace- The namespace of the project. Cannot benullplatform- The BM platform. Cannot benullisNewProject- 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.BmModelManagerLifecycleParticipantUpdates model right after storage initialization if necessary- Specified by:
updateModelAfterStorageInitializationin interfaceIBmModelManager.BmModelManagerLifecycleParticipant- Parameters:
dtProject- TheIDtProjectof the starting project. Cannot benullnamespace- The namespace of the project. Cannot benullplatform- The BM platform. Cannot benullisNewProject- New project flagcleanStart- Clean start flag
-