|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.rundeck.domain.RundeckUtils
public class RundeckUtils
Helper methods for working with RunDeck
| Constructor Summary | |
|---|---|
RundeckUtils()
|
|
| Method Summary | |
|---|---|
static String |
generateArgString(Properties options)
Generates an "argString" representing the given options. |
static RundeckExecution |
parseExecution(InputStream response)
Parse the result of a job execution |
static RundeckJob |
parseJobDefinition(InputStream response)
Parse the result of a "job details" action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RundeckUtils()
| Method Detail |
|---|
public static String generateArgString(Properties options)
"-key1 value1 -key2 'value 2 with spaces'"
options - to be converted
public static RundeckJob parseJobDefinition(InputStream response)
throws RundeckApiException
response - as InputStream
RundeckJob instance - won't be null
RundeckApiException - in case of error when reading the result
public static RundeckExecution parseExecution(InputStream response)
throws RundeckApiException
response - as InputStream
RundeckExecution instance - won't be null
RundeckApiException - in case of error when reading the result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||