hudson.remoting.jnlp
Class Main

java.lang.Object
  extended by hudson.remoting.jnlp.Main

public class Main
extends Object

Entry point to JNLP slave agent.

See also slave-agent.jnlp.jelly in the core.

Author:
Kohsuke Kawaguchi

Field Summary
 List<String> args
          4 mandatory parameters.
 String credentials
           
 boolean headlessMode
           
 boolean noReconnect
           
 String tunnel
           
 List<URL> urls
           
 
Constructor Summary
Main()
           
 
Method Summary
static void _main(String[] args)
          Main without the argument handling.
 void main()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tunnel

public String tunnel

headlessMode

public boolean headlessMode

urls

public final List<URL> urls

credentials

public String credentials

noReconnect

public boolean noReconnect

args

public final List<String> args
4 mandatory parameters. Host name (deprecated), Hudson URL, secret key, and slave name.

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        InterruptedException
Throws:
IOException
InterruptedException

_main

public static void _main(String[] args)
                  throws IOException,
                         InterruptedException,
                         org.kohsuke.args4j.CmdLineException
Main without the argument handling.

Throws:
IOException
InterruptedException
org.kohsuke.args4j.CmdLineException

main

public void main()
          throws IOException,
                 InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2011. All Rights Reserved.