Interface GerritEventLifecycleListener

  • All Known Implementing Classes:
    DependencyQueueTaskDispatcher, TriggerMonitor

    public interface GerritEventLifecycleListener
    Listener interface for listening in on a specific GerritEvent's lifecycle.
    Author:
    Robert Sandell <robert.sandell@sonyericsson.com>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void allBuildsCompleted​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
      Called when all builds triggered by the event are completed.
      void buildCompleted​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event, Run build)
      Called when a build is completed.
      void buildStarted​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event, Run build)
      Called when a build has started.
      void projectTriggered​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event, Job project)
      Called when the trigger of a project has decided to trigger on the event.
      void triggerScanDone​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
      Called after all triggers has been enumerated.
      void triggerScanStarting​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
      Called before any triggers are enumerated.
    • Method Detail

      • triggerScanStarting

        void triggerScanStarting​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
        Called before any triggers are enumerated.
        Parameters:
        event - the event.
      • triggerScanDone

        void triggerScanDone​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
        Called after all triggers has been enumerated.
        Parameters:
        event - the event.
      • projectTriggered

        void projectTriggered​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event,
                              Job project)
        Called when the trigger of a project has decided to trigger on the event.
        Parameters:
        event - the event.
        project - the project that was triggered.
      • buildStarted

        void buildStarted​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event,
                          Run build)
        Called when a build has started.
        Parameters:
        event - the event.
        build - the build.
      • buildCompleted

        void buildCompleted​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event,
                            Run build)
        Called when a build is completed.
        Parameters:
        event - the event.
        build - the build.
      • allBuildsCompleted

        void allBuildsCompleted​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
        Called when all builds triggered by the event are completed.
        Parameters:
        event - the event.