Class LibraryAssetUpdateNotifier


  • @ApplicationScoped
    public class LibraryAssetUpdateNotifier
    extends Object
    • Constructor Detail

      • LibraryAssetUpdateNotifier

        public LibraryAssetUpdateNotifier()
      • LibraryAssetUpdateNotifier

        @Inject
        public LibraryAssetUpdateNotifier​(org.guvnor.common.services.project.service.WorkspaceProjectService projectService,
                                          LibraryIndexer libraryIndexer,
                                          @Remote
                                          javax.enterprise.event.Event<org.kie.workbench.common.screens.library.api.ProjectAssetListUpdated> assetListUpdateEvent,
                                          org.slf4j.Logger logger)
    • Method Detail

      • notifyOnUpdatedAssets

        public void notifyOnUpdatedAssets​(@Observes @Named("org.kie.workbench.common.LibraryAssetIndexer")
                                          org.uberfire.ext.metadata.event.BatchIndexEvent event)
      • isUpdateNotifierEnabled

        protected boolean isUpdateNotifierEnabled()