|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
test.Droovy
public class Droovy
Entry point to the distributed Groovy support.
| Field Summary | |
|---|---|
java.net.URL |
hudson
|
| Constructor Summary | |
|---|---|
Droovy()
Creates a distributed Groovy environment. |
|
Droovy(java.net.URL hudson)
Creates a distributed Groovy environment. |
|
| Method Summary | |
|---|---|
void |
close()
Shuts down all the remote Servers and terminate the distributed environment. |
Server |
connect()
Provisions a new node. |
Server |
connect(java.lang.String name)
Provisions a new node. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class groovy.lang.GroovyObjectSupport |
|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.net.URL hudson
| Constructor Detail |
|---|
public Droovy(java.net.URL hudson)
throws java.io.IOException,
java.lang.InterruptedException
hudson - URL of Hudson that provides the clustering environment.
java.io.IOException
java.lang.InterruptedException
public Droovy()
throws java.io.IOException,
java.lang.InterruptedException
URL of Hudson is taken from the HUDSON_URL system property or the HUDSON_URL environment variable (in that order of preference.)
java.io.IOException
java.lang.InterruptedException| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public void close()
throws java.io.IOException,
java.lang.InterruptedException
Servers and terminate the distributed environment.
java.io.IOException
java.lang.InterruptedException
public Server connect()
throws java.io.IOException
Connects by using a random unique name.
java.io.IOException
public Server connect(java.lang.String name)
throws java.io.IOException
name - Human-readable name that represents this server. Used for error messages
and status screen on Hudson.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||