|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sonyericsson.hudson.plugins.multislaveconfigplugin.EnvironmentVariables
public class EnvironmentVariables
This class is used for interpreting environment variables.
Constructor Summary | |
---|---|
protected |
EnvironmentVariables()
Not allowing to create instances of this class. |
Method Summary | |
---|---|
static boolean |
containsEnvironmentVariables(String interpretString)
Checks if the argument string contains environment variables, for example $NAME. |
static hudson.slaves.DumbSlave |
fromVariables(hudson.slaves.DumbSlave slave)
Switches from environment variables in most configuration fields for the slave and returns a new slave. |
static String |
fromVariables(hudson.slaves.DumbSlave slave,
String interpretString)
Switches from environment variables in the argument string. |
static String |
fromVariables(String slaveName,
String interpretString)
Switches from environment variables in the argument string. |
static hudson.slaves.DumbSlave |
toVariables(hudson.slaves.DumbSlave slave)
Switches to environment variables in most configuration fields for the slave and returns a new slave. |
static String |
toVariables(hudson.slaves.DumbSlave slave,
String interpretString)
Switches to environment variables in the argument string. |
static String |
toVariables(String slaveName,
String interpretString)
Switches to environment variables in the argument string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EnvironmentVariables()
Method Detail |
---|
public static String toVariables(hudson.slaves.DumbSlave slave, String interpretString)
slave
- the slave to base the environment variables oninterpretString
- the string to interpret
public static String fromVariables(hudson.slaves.DumbSlave slave, String interpretString)
slave
- the DumbSlave to base the environment variables oninterpretString
- the string to interpret
public static String toVariables(String slaveName, String interpretString)
slaveName
- the name of the slave to base the environment variables oninterpretString
- the string to interpret
public static String fromVariables(String slaveName, String interpretString)
slaveName
- the name of the slave to base the environment variables oninterpretString
- the string to interpret
public static boolean containsEnvironmentVariables(String interpretString)
interpretString
- the string to check for environment variables
public static hudson.slaves.DumbSlave fromVariables(hudson.slaves.DumbSlave slave)
slave
- the slave to interpret environment variables on
public static hudson.slaves.DumbSlave toVariables(hudson.slaves.DumbSlave slave)
slave
- the slave to interpret environment variables on
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |