public class SlaveInstance extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SlaveInstance.InstanceCounter | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | JENKINS_URL_VARIABLE | 
| static String | JNLP_SLAVE_OPTIONS_VARIABLE | 
| static Set<String> | REQUIRED_VARIABLES | 
| Constructor and Description | 
|---|
| SlaveInstance() | 
| Modifier and Type | Method and Description | 
|---|---|
| static net.sf.json.JSONArray | createJenkinsVariables(Client client,
                      ElasticBoxSlave slave) | 
| static net.sf.json.JSONArray | createJenkinsVariables(String jenkinsUrl,
                      String slaveName) | 
| static String | createJnlpSlaveOptions(ElasticBoxSlave slave) | 
| static Map<String,Integer> | getSlaveConfigIdToInstanceCountMap(List<net.sf.json.JSONObject> activeInstances) | 
| static boolean | isSlaveBox(net.sf.json.JSONObject boxJson) | 
public static final String JNLP_SLAVE_OPTIONS_VARIABLE
public static final String JENKINS_URL_VARIABLE
public static String createJnlpSlaveOptions(ElasticBoxSlave slave)
public static net.sf.json.JSONArray createJenkinsVariables(String jenkinsUrl, String slaveName)
public static net.sf.json.JSONArray createJenkinsVariables(Client client, ElasticBoxSlave slave) throws IOException
IOExceptionpublic static boolean isSlaveBox(net.sf.json.JSONObject boxJson)
Copyright © 2016–2019. All rights reserved.