Interface ProcessesUpdater

  • All Known Implementing Classes:
    SyncFinishedUpdater, SyncStartedUpdater

    @Deprecated(since="6.6",
                forRemoval=true)
    public interface ProcessesUpdater
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.6 - not used anymore
    An interface which allows to update list of processes based on global cockpit event.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getEventName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Global event name on which onEvent(CockpitEvent) will be called.
      java.lang.String getEventScope()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Scope of the event CockpitEvent.SESSION,CockpitEvent.APPLICATION or CockpitEvent.DESKTOP.
      java.util.List<java.lang.String> onEvent​(com.hybris.cockpitng.core.events.CockpitEvent cockpitEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Event callback.
    • Method Detail

      • getEventName

        java.lang.String getEventName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Global event name on which onEvent(CockpitEvent) will be called.
        Returns:
        name of global event.
      • onEvent

        java.util.List<java.lang.String> onEvent​(com.hybris.cockpitng.core.events.CockpitEvent cockpitEvent)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Event callback.
        Parameters:
        cockpitEvent - global cockpit event.
        Returns:
        list of cronJob codes for which processes should be updated/added to the processes list.
      • getEventScope

        java.lang.String getEventScope()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Scope of the event CockpitEvent.SESSION,CockpitEvent.APPLICATION or CockpitEvent.DESKTOP.
        Returns:
        event scope.