|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rundeck.api.util.ParametersUtil
public class ParametersUtil
Utility class for API parameters that should be passed in URLs.
Constructor Summary | |
---|---|
ParametersUtil()
|
Method Summary | |
---|---|
static String |
generateArgString(Properties options)
Generates a RunDeck "argString" representing the given options. |
static String |
generateNodeFiltersString(Properties nodeFilters)
Generates an url-encoded string representing the given nodeFilters. |
static String |
urlEncode(String input)
URL-encode the given string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParametersUtil()
Method Detail |
---|
public static String urlEncode(String input)
input
- string to be encoded
public static String generateArgString(Properties options)
"-key1 value1 -key2 'value 2 with spaces'"
. You might want to url-encode this string...
options
- to be converted
public static String generateNodeFiltersString(Properties nodeFilters)
"filter1=value1&filter2=value2"
.
nodeFilters
- to be converted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |