hudson.remoting
Class Launcher
java.lang.Object
hudson.remoting.Launcher
public class Launcher
- extends Object
Entry point for running a Channel. This is the main method of the slave JVM.
This class also defines several methods for
starting a channel on a fresh JVM.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mode
public Channel.Mode mode
ping
public boolean ping
slaveJnlpURL
public URL slaveJnlpURL
slaveJnlpCredentials
public String slaveJnlpCredentials
tcpPortFile
public File tcpPortFile
auth
public String auth
connectionTarget
public InetSocketAddress connectionTarget
VERSION
public static final String VERSION
- Version number of Hudson this slave.jar is from.
Launcher
public Launcher()
setTextMode
public void setTextMode(boolean b)
addClasspath
public void addClasspath(String pathList)
throws Exception
- Throws:
Exception
setConnectTo
public void setConnectTo(String target)
setNoCertificateCheck
public void setNoCertificateCheck(boolean _)
throws NoSuchAlgorithmException,
KeyManagementException
- Bypass HTTPS security check by using free-for-all trust manager.
- Parameters:
_ - This is ignored.
- Throws:
NoSuchAlgorithmException
KeyManagementException
main
public static void main(String... args)
throws Exception
- Throws:
Exception
run
public void run()
throws Exception
- Throws:
Exception
parseJnlpArguments
public List<String> parseJnlpArguments()
throws ParserConfigurationException,
SAXException,
IOException,
InterruptedException
- Parses the connection arguments from JNLP file given in the URL.
- Throws:
ParserConfigurationException
SAXException
IOException
InterruptedException
main
public static void main(InputStream is,
OutputStream os)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
main
public static void main(InputStream is,
OutputStream os,
Channel.Mode mode)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
main
public static void main(InputStream is,
OutputStream os,
Channel.Mode mode,
boolean performPing)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
isWindows
public static boolean isWindows()
Copyright © 2004-2011. All Rights Reserved.