Modifier and Type | Field and Description |
---|---|
String |
auth |
InetSocketAddress |
connectionTarget |
File |
jarCache |
Channel.Mode |
mode |
boolean |
noReconnect |
boolean |
ping |
String |
proxyCredentials |
String |
secret |
String |
slaveJnlpCredentials |
URL |
slaveJnlpURL |
File |
slaveLog |
File |
tcpPortFile |
static String |
VERSION
Version number of Hudson this slave.jar is from.
|
Constructor and Description |
---|
Launcher() |
Modifier and Type | Method and Description |
---|---|
void |
addClasspath(String pathList) |
static boolean |
isWindows() |
static void |
main(InputStream is,
OutputStream os) |
static void |
main(InputStream is,
OutputStream os,
Channel.Mode mode) |
static void |
main(InputStream is,
OutputStream os,
Channel.Mode mode,
boolean performPing)
Deprecated.
Use
#main(InputStream, OutputStream, Mode, boolean, JarCache) |
static void |
main(InputStream is,
OutputStream os,
Channel.Mode mode,
boolean performPing,
JarCache cache) |
static void |
main(String... args) |
List<String> |
parseJnlpArguments()
Parses the connection arguments from JNLP file given in the URL.
|
void |
run() |
void |
setConnectTo(String target) |
void |
setNoCertificateCheck(boolean _)
Bypass HTTPS security check by using free-for-all trust manager.
|
void |
setTextMode(boolean b) |
public Channel.Mode mode
public boolean ping
public File slaveLog
public URL slaveJnlpURL
public String slaveJnlpCredentials
public String secret
public String proxyCredentials
public File tcpPortFile
public String auth
public File jarCache
public InetSocketAddress connectionTarget
public boolean noReconnect
public static final String VERSION
public void setTextMode(boolean b)
public void setConnectTo(String target)
public void setNoCertificateCheck(boolean _) throws NoSuchAlgorithmException, KeyManagementException
_
- This is ignored.NoSuchAlgorithmException
KeyManagementException
public List<String> parseJnlpArguments() throws ParserConfigurationException, SAXException, IOException, InterruptedException
public static void main(InputStream is, OutputStream os) throws IOException, InterruptedException
IOException
InterruptedException
public static void main(InputStream is, OutputStream os, Channel.Mode mode) throws IOException, InterruptedException
IOException
InterruptedException
@Deprecated public static void main(InputStream is, OutputStream os, Channel.Mode mode, boolean performPing) throws IOException, InterruptedException
#main(InputStream, OutputStream, Mode, boolean, JarCache)
IOException
InterruptedException
public static void main(InputStream is, OutputStream os, Channel.Mode mode, boolean performPing, JarCache cache) throws IOException, InterruptedException
IOException
InterruptedException
public static boolean isWindows()
Copyright © 2015. All rights reserved.