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 StringfetchBlueprintDescription(String blueprintName)StringfetchRunTimeActionVariables(String blueprintName, String appProfileName, String actionName)StringfetchRunTimeProfileVariables(String blueprintName, String appProfileName)List<String>getAppProfiles(String blueprintName)org.json.JSONObjectgetBlueprintDetails(String blueprintUuid)List<String>getBlueprintsList(String projectName)org.json.JSONObjectgetBlueprintSpec(String blueprintName, String appProfileName, String runtimeVariables, String applicationName)static BlueprintgetInstance(Rest rest)List<String>getProfileActions(String blueprintName, String appProfileName)HashMap<String,String>getRuntimeVariables(org.json.JSONArray variableList)org.json.JSONObjectlaunchBlueprint(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
-
-