public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static net.sf.json.JSONObject |
createAuthArray(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credential,
String authtype) |
static net.sf.json.JSONObject |
getJSON(String targetURL,
net.sf.json.JSONObject urlParams,
String auth) |
static String |
getToken(String servername,
net.sf.json.JSONObject auth) |
static String |
paramorize(hudson.model.Run build,
hudson.model.TaskListener listener,
String paramer) |
static hudson.util.FormValidation |
validateFormStringField(String value,
String lackOfFieldMessage,
String fieldToShortMessage) |
static boolean |
validateFunctionCall(net.sf.json.JSONArray returnArray) |
public static net.sf.json.JSONObject getJSON(String targetURL, net.sf.json.JSONObject urlParams, String auth)
public static String paramorize(hudson.model.Run build, hudson.model.TaskListener listener, String paramer) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static boolean validateFunctionCall(net.sf.json.JSONArray returnArray)
public static hudson.util.FormValidation validateFormStringField(String value, String lackOfFieldMessage, String fieldToShortMessage)
public static net.sf.json.JSONObject createAuthArray(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credential,
String authtype)
Copyright © 2016–2017. All rights reserved.