Class SystemEventThread

  • All Implemented Interfaces:
    Runnable

    public class SystemEventThread
    extends com.sonymobile.tools.gerrit.gerritevents.workers.EventThread
    EventThread that impersonates the System user in Jenkins.
    Author:
    scott.hebert@ericsson.com
    • Constructor Detail

      • SystemEventThread

        public SystemEventThread​(com.sonymobile.tools.gerrit.gerritevents.workers.Coordinator coordinator,
                                 String name)
        Constructs an Event thread worker with name.
        Parameters:
        coordinator - the master.
        name - The Thread Name
      • SystemEventThread

        public SystemEventThread​(com.sonymobile.tools.gerrit.gerritevents.workers.Coordinator coordinator)
        Constructs an Event thread worker.
        Parameters:
        coordinator - the master.
    • Method Detail

      • run

        public void run()
        We perform the impersonation of the System user prior to execution.
        Specified by:
        run in interface Runnable
        Overrides:
        run in class com.sonymobile.tools.gerrit.gerritevents.workers.EventThread