hudson.remoting.jnlp
Class Main

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

public class Main
extends java.lang.Object

Entry point to JNLP slave agent.

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

Author:
Kohsuke Kawaguchi

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

Field Detail

tunnel

public java.lang.String tunnel

headlessMode

public boolean headlessMode

urls

public final java.util.List<java.net.URL> urls

credentials

public java.lang.String credentials

noReconnect

public boolean noReconnect

args

public final java.util.List<java.lang.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(java.lang.String[] args)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

_main

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

Throws:
java.io.IOException
java.lang.InterruptedException
org.kohsuke.args4j.CmdLineException

main

public void main()
          throws java.io.IOException,
                 java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2012. All Rights Reserved.