|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objecthudson.plugins.swarm.Client
public class Client
Swarm client.
Discovers nearby Jenkins via UDP broadcast, and pick eligible one randomly and joins it.
| フィールドの概要 | |
|---|---|
String |
description
|
int |
executors
|
boolean |
help
|
List<String> |
labels
|
String |
master
|
String |
name
|
String |
password
|
File |
remoteFsRoot
|
protected DatagramSocket |
socket
Used to discover the server. |
protected hudson.plugins.swarm.Client.Candidate |
target
The Jenkins that we are trying to connect to. |
String |
username
|
| コンストラクタの概要 | |
|---|---|
Client()
|
|
| メソッドの概要 | |
|---|---|
protected void |
connect()
This method blocks while the swarm slave is serving as a slave. |
protected void |
createSwarmSlave()
|
protected List<DatagramPacket> |
discover()
Discovers Jenkins running nearby. |
static void |
main(String... args)
|
void |
run()
Finds a Jenkins master that supports swarming, and join it. |
protected void |
sendBroadcast()
|
protected void |
verifyThatUrlIsHudson()
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final DatagramSocket socket
protected hudson.plugins.swarm.Client.Candidate target
public String name
public String description
public List<String> labels
public File remoteFsRoot
public int executors
public String master
public String username
public String password
public boolean help
| コンストラクタの詳細 |
|---|
public Client()
throws IOException
IOException| メソッドの詳細 |
|---|
public static void main(String... args)
throws InterruptedException,
IOException
InterruptedException
IOException
public void run()
throws InterruptedException
InterruptedException
protected List<DatagramPacket> discover()
throws IOException,
InterruptedException,
RetryException
IOException
InterruptedException
RetryException
protected void sendBroadcast()
throws IOException
IOException
protected void connect()
throws InterruptedException
InterruptedException
protected void createSwarmSlave()
throws IOException,
InterruptedException,
RetryException
IOException
InterruptedException
RetryException
protected void verifyThatUrlIsHudson()
throws InterruptedException,
RetryException
InterruptedException
RetryException
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||