| Modifier and Type | Field and Description |
|---|---|
String |
auth |
InetSocketAddress |
connectionTarget |
Channel.Mode |
mode |
boolean |
ping |
String |
slaveJnlpCredentials |
URL |
slaveJnlpURL |
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) |
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 URL slaveJnlpURL
public String slaveJnlpCredentials
public File tcpPortFile
public String auth
public InetSocketAddress connectionTarget
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.NoSuchAlgorithmExceptionKeyManagementExceptionpublic List<String> parseJnlpArguments() throws ParserConfigurationException, SAXException, IOException, InterruptedException
public static void main(InputStream is, OutputStream os) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void main(InputStream is, OutputStream os, Channel.Mode mode) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void main(InputStream is, OutputStream os, Channel.Mode mode, boolean performPing) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static boolean isWindows()
Copyright © 2015. All Rights Reserved.