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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionSystemEventThread(com.sonymobile.tools.gerrit.gerritevents.workers.Coordinator coordinator) Constructs an Event thread worker.SystemEventThread(com.sonymobile.tools.gerrit.gerritevents.workers.Coordinator coordinator, String name) Constructs an Event thread worker with name. -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()We perform the impersonation of the System user prior to execution.Methods inherited from class com.sonymobile.tools.gerrit.gerritevents.workers.EventThread
shutdownMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
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