@NotThreadSafe public class Engine extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static String |
GREETING_SUCCESS
Deprecated.
|
EngineListener |
listener
Deprecated.
Use
events . |
String |
slaveName |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
Engine(EngineListener listener,
List<URL> hudsonUrls,
String secretKey,
String slaveName) |
Modifier and Type | Method and Description |
---|---|
void |
addCandidateCertificate(X509Certificate certificate) |
void |
addListener(EngineListener el) |
static Engine |
current()
|
URL |
getHudsonUrl() |
void |
removeListener(EngineListener el) |
void |
run() |
void |
setCandidateCertificates(List<X509Certificate> candidateCertificates) |
void |
setCredentials(String creds) |
void |
setJarCache(JarCache jarCache)
Configures JAR caching for better performance.
|
void |
setNoReconnect(boolean noReconnect) |
void |
setProxyCredentials(String proxyCredentials) |
void |
setTunnel(String tunnel) |
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
@Deprecated public final EngineListener listener
events
.public final String slaveName
@Deprecated public static final String GREETING_SUCCESS
JnlpProtocol.GREETING_SUCCESS
.public Engine(EngineListener listener, List<URL> hudsonUrls, String secretKey, String slaveName)
public void setJarCache(JarCache jarCache)
public URL getHudsonUrl()
public void setTunnel(String tunnel)
public void setCredentials(String creds)
public void setProxyCredentials(String proxyCredentials)
public void setNoReconnect(boolean noReconnect)
public void setCandidateCertificates(List<X509Certificate> candidateCertificates)
public void addCandidateCertificate(X509Certificate certificate)
public void addListener(EngineListener el)
public void removeListener(EngineListener el)
public static Engine current()
Copyright © 2016. All rights reserved.