Package com.calm.CalmHelpers
Class Blueprint
- java.lang.Object
-
- com.calm.CalmHelpers.Blueprint
-
public class Blueprint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,String>
blueprintNameUuidPair
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fetchBlueprintDescription(String blueprintName)
String
fetchRunTimeActionVariables(String blueprintName, String appProfileName, String actionName)
String
fetchRunTimeProfileVariables(String blueprintName, String appProfileName)
List<String>
getAppProfiles(String blueprintName)
org.json.JSONObject
getBlueprintDetails(String blueprintUuid)
List<String>
getBlueprintsList(String projectName)
org.json.JSONObject
getBlueprintSpec(String blueprintName, String appProfileName, String runtimeVariables, String applicationName)
static Blueprint
getInstance(Rest rest)
List<String>
getProfileActions(String blueprintName, String appProfileName)
HashMap<String,String>
getRuntimeVariables(org.json.JSONArray variableList)
org.json.JSONObject
launchBlueprint(String blueprintUuid, org.json.JSONObject blueprintSpec)
-
-
-
Method Detail
-
getBlueprintDetails
public org.json.JSONObject getBlueprintDetails(String blueprintUuid) throws Exception
- Throws:
Exception
-
getBlueprintSpec
public org.json.JSONObject getBlueprintSpec(String blueprintName, String appProfileName, String runtimeVariables, String applicationName) throws Exception
- Throws:
Exception
-
getProfileActions
public List<String> getProfileActions(String blueprintName, String appProfileName) throws Exception
- Throws:
Exception
-
fetchRunTimeProfileVariables
public String fetchRunTimeProfileVariables(String blueprintName, String appProfileName) throws Exception
- Throws:
Exception
-
fetchRunTimeActionVariables
public String fetchRunTimeActionVariables(String blueprintName, String appProfileName, String actionName) throws Exception
- Throws:
Exception
-
getRuntimeVariables
public HashMap<String,String> getRuntimeVariables(org.json.JSONArray variableList) throws Exception
- Throws:
Exception
-
-