public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createRandomParameterName(String prefix,
String suffix)
Creates a random parameter name.
|
static String |
escapeSelected(Object obj)
Escapes the parameter value, removing the :selected suffix.
|
static Set<org.jenkinsci.plugins.scriptler.config.Script> |
getAllScriptlerScripts()
Returns all scriptler scripts available.
|
static Map<String,String> |
getSystemEnv()
Helped method to return the system environment variables.
|
static boolean |
isSelected(Object obj)
Checks whether a parameter value contains the :selected suffix, returning
true if it does, false otherwise. |
public static Set<org.jenkinsci.plugins.scriptler.config.Script> getAllScriptlerScripts()
public static boolean isSelected(Object obj)
true if it does, false otherwise.obj - parameter valuetrue if the parameter name contains the :selected suffix false otherwise.public static String escapeSelected(Object obj)
obj - parameter valuepublic static String createRandomParameterName(String prefix, String suffix)
prefix - parameter prefixsuffix - parameter suffixCopyright © 2004-2015. All Rights Reserved.