public class Client extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
String |
autoDiscoveryAddress |
String |
description |
boolean |
disableSslVerification |
int |
executors |
boolean |
help |
List<String> |
labels |
String |
master |
String |
mode |
String |
name |
String |
password |
File |
remoteFsRoot |
protected hudson.plugins.swarm.Client.Candidate |
target
The Jenkins that we are trying to connect to.
|
String |
username |
| コンストラクタと説明 |
|---|
Client() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected List<DatagramPacket> |
collectBroadcastResponses(DatagramSocket socket) |
protected void |
connect()
This method blocks while the swarm slave is serving as a slave.
|
protected org.apache.commons.httpclient.HttpClient |
createHttpClient(URL urlForAuth) |
protected void |
createSwarmSlave() |
protected hudson.plugins.swarm.Client.Candidate |
discoverFromBroadcast() |
static void |
main(String... args) |
void |
run()
Finds a Jenkins master that supports swarming, and join it.
|
protected void |
sendBroadcast(DatagramSocket socket) |
protected void |
verifyThatUrlIsHudson() |
protected hudson.plugins.swarm.Client.Candidate target
public String name
public String description
public File remoteFsRoot
public int executors
public String master
public String autoDiscoveryAddress
public boolean disableSslVerification
public String mode
public String username
public String password
public boolean help
public Client()
throws IOException
IOExceptionpublic static void main(String... args) throws InterruptedException, IOException
public void run()
throws InterruptedException
protected hudson.plugins.swarm.Client.Candidate discoverFromBroadcast() throws IOException, InterruptedException, RetryException, ParserConfigurationException
protected void sendBroadcast(DatagramSocket socket) throws IOException
IOExceptionprotected List<DatagramPacket> collectBroadcastResponses(DatagramSocket socket) throws IOException, RetryException
protected void connect()
throws InterruptedException
protected org.apache.commons.httpclient.HttpClient createHttpClient(URL urlForAuth)
protected void createSwarmSlave()
throws IOException,
InterruptedException,
RetryException
protected void verifyThatUrlIsHudson()
throws InterruptedException,
RetryException
Copyright © 2004-2013. All Rights Reserved.