jenkinsci.plugin.browseraxis.label
Class FindBrowsersOnNode

java.lang.Object
  extended by java.lang.Thread
      extended by jenkinsci.plugin.browseraxis.label.FindBrowsersOnNode
All Implemented Interfaces:
java.lang.Runnable

public class FindBrowsersOnNode
extends java.lang.Thread

Find browsers, versions for nodes and actualize labels if it is necessary

Author:
Lucie Votypkova

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FindBrowsersOnNode(java.lang.String name, long startTime, hudson.model.Node node)
           
 
Method Summary
 hudson.model.labels.LabelAtom getAutoversion(Browser browser, hudson.model.Node node)
           
 hudson.model.Node getNode()
           
 long getStartTime()
           
 boolean isAutoversionPossible(Browser browser, hudson.model.Node node)
           
static java.lang.String parsePath(hudson.model.Computer computer, java.lang.String path)
          Replace system variable names by their values
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FindBrowsersOnNode

public FindBrowsersOnNode(java.lang.String name,
                          long startTime,
                          hudson.model.Node node)
Method Detail

getStartTime

public long getStartTime()

getNode

public hudson.model.Node getNode()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

parsePath

public static java.lang.String parsePath(hudson.model.Computer computer,
                                         java.lang.String path)
                                  throws java.io.IOException,
                                         java.lang.InterruptedException
Replace system variable names by their values

Returns:
path without system variables
Throws:
java.io.IOException
java.lang.InterruptedException

isAutoversionPossible

public boolean isAutoversionPossible(Browser browser,
                                     hudson.model.Node node)

getAutoversion

public hudson.model.labels.LabelAtom getAutoversion(Browser browser,
                                                    hudson.model.Node node)


Copyright © 2004-2012. All Rights Reserved.