Class JsonHelper
- java.lang.Object
-
- org.jenkinsci.plugins.cloudhubdeployer.utils.JsonHelper
-
public final class JsonHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkIfApiExists(String response, String domainName)
static boolean
checkIfKeyExists(String response, String key)
static com.google.gson.JsonArray
getenvList(String response)
static String
parseAccessToken(String loginResponse)
static String
verifyOrGetEnvId(String response, String envIdOrName)
-
-
-
Method Detail
-
getenvList
public static com.google.gson.JsonArray getenvList(String response) throws CloudHubRequestException
- Throws:
CloudHubRequestException
-
verifyOrGetEnvId
public static String verifyOrGetEnvId(String response, String envIdOrName) throws CloudHubRequestException
- Throws:
CloudHubRequestException
-
-