|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sonyericsson.hudson.plugins.multislaveconfigplugin.SearchSlaves
public class SearchSlaves
Class for searching and adding dumb slaves to a list.
Constructor Summary | |
---|---|
protected |
SearchSlaves()
Not allowing to create instances of this class. |
Method Summary | |
---|---|
static NodeList |
getNodes(net.sf.json.JSONObject searchParameters)
Gets a list of DumbSlaves that matches the search parameters. |
static boolean |
hasSearchHit(hudson.slaves.DumbSlave slave,
String searchParameter,
String slaveParameter)
Method that searches for a specific parameter on a slave and returns true/false if it's found. |
static String |
makeSearchable(String string)
Formatting a string to ignore case sensitiveness and trimming leading and trailing whitespaces. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SearchSlaves()
Method Detail |
---|
public static NodeList getNodes(net.sf.json.JSONObject searchParameters)
searchParameters
- submitted form containing what to search for.
public static boolean hasSearchHit(hudson.slaves.DumbSlave slave, String searchParameter, String slaveParameter)
slave
- the slave to search for environment variables on.searchParameter
- the parameter to search for on the slave.slaveParameter
- the current slaves parameter to compare with.
public static String makeSearchable(String string)
string
- the string to make search friendly.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |