public class Utils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Utils.ApiAuthenticator |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkJSONRPCEndpoint(String endpoint) |
static String |
encodeFileToBase64Binary(File file) |
static Proxy |
getJenkinsProxy(URL url) |
static com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session |
initJSONRPCSession(String endpoint,
String apiToken,
String apiTokenCredentialId) |
static boolean |
isInteger(String value) |
public static boolean isInteger(String value)
public static com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session initJSONRPCSession(String endpoint, String apiToken, String apiTokenCredentialId) throws MalformedURLException
MalformedURLExceptionpublic static boolean checkJSONRPCEndpoint(String endpoint)
public static String encodeFileToBase64Binary(File file) throws IOException
IOExceptionCopyright © 2016. All rights reserved.