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

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Global event name on which onEvent(CockpitEvent) will be called.
    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.
    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 Details

    • getEventName

      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

      List<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

      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.