Class ReplicationQueueTaskDispatcher

  • All Implemented Interfaces:
    com.sonymobile.tools.gerrit.gerritevents.GerritEventListener, ExtensionPoint

    @Extension
    public class ReplicationQueueTaskDispatcher
    extends QueueTaskDispatcher
    implements com.sonymobile.tools.gerrit.gerritevents.GerritEventListener
    Block builds until replication is completed if configured to wait for replication.
    Author:
    Hugo Arès <hugo.ares@ericsson.com>
    • Constructor Detail

      • ReplicationQueueTaskDispatcher

        public ReplicationQueueTaskDispatcher()
        Default constructor.
    • Method Detail

      • gerritEvent

        public void gerritEvent​(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
        Specified by:
        gerritEvent in interface com.sonymobile.tools.gerrit.gerritevents.GerritEventListener
      • gerritEvent

        public void gerritEvent​(com.sonymobile.tools.gerrit.gerritevents.dto.events.RefReplicated refReplicated)
        Process RefReplicated events.
        Parameters:
        refReplicated - the event