Class DefaultProcessesUpdaterRegistry

  • All Implemented Interfaces:
    ProcessesUpdatersRegistry

    @Deprecated(since="6.6",
                forRemoval=true)
    public class DefaultProcessesUpdaterRegistry
    extends java.lang.Object
    implements ProcessesUpdatersRegistry
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.6 - not used anymore
    Default implementation which registers getProcessesUpdaters() as global events listeners.
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultProcessesUpdaterRegistry()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void addGlobalEventListener​(java.lang.String eventName, java.util.List<ProcessesUpdater> listeners, java.util.function.Consumer<java.lang.String> updateCronJob, com.hybris.cockpitng.components.Widgetslot widgetslot)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String getCommonEventScope​(java.util.List<ProcessesUpdater> listeners)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.util.List<ProcessesUpdater> getProcessesUpdaters()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.hybris.cockpitng.util.WidgetUtils getWidgetUtils()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void registerGlobalEventListeners​(com.hybris.cockpitng.components.Widgetslot widgetslot, java.util.function.Consumer<java.lang.String> updateCronJob)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Registers global event listeners on given widgetSlot.
      void setProcessesUpdaters​(java.util.List<ProcessesUpdater> processesUpdaters)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setWidgetUtils​(com.hybris.cockpitng.util.WidgetUtils widgetUtils)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultProcessesUpdaterRegistry

        public DefaultProcessesUpdaterRegistry()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • registerGlobalEventListeners

        public void registerGlobalEventListeners​(com.hybris.cockpitng.components.Widgetslot widgetslot,
                                                 java.util.function.Consumer<java.lang.String> updateCronJob)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ProcessesUpdatersRegistry
        Registers global event listeners on given widgetSlot.
        Specified by:
        registerGlobalEventListeners in interface ProcessesUpdatersRegistry
        Parameters:
        widgetslot - widget slot on which event listeners will be registered.
        updateCronJob - consumer which updates a cronJob on the list
      • addGlobalEventListener

        protected void addGlobalEventListener​(java.lang.String eventName,
                                              java.util.List<ProcessesUpdater> listeners,
                                              java.util.function.Consumer<java.lang.String> updateCronJob,
                                              com.hybris.cockpitng.components.Widgetslot widgetslot)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getCommonEventScope

        protected java.lang.String getCommonEventScope​(java.util.List<ProcessesUpdater> listeners)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setProcessesUpdaters

        public void setProcessesUpdaters​(java.util.List<ProcessesUpdater> processesUpdaters)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getProcessesUpdaters

        public java.util.List<ProcessesUpdater> getProcessesUpdaters()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setWidgetUtils

        public void setWidgetUtils​(com.hybris.cockpitng.util.WidgetUtils widgetUtils)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getWidgetUtils

        public com.hybris.cockpitng.util.WidgetUtils getWidgetUtils()
        Deprecated, for removal: This API element is subject to removal in a future version.