Class SystemEventThread

java.lang.Object
java.lang.Thread
com.sonymobile.tools.gerrit.gerritevents.workers.EventThread
com.sonyericsson.hudson.plugins.gerrit.trigger.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 Details

    • 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 Details

    • 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