Package zowe.client.sdk.teamconfig.model
Class Profile
- java.lang.Object
-
- zowe.client.sdk.teamconfig.model.Profile
-
public class Profile extends Object
Profile POJO to act as a container for a parsed Zowe Global Team Configuration file representing a profile section.- Version:
- 4.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Return profile nameMap<String,String>getProperties()Return hashmap of property valuesorg.json.simple.JSONArraygetSecure()Return secure valueStringgetType()Return profile typeStringtoString()Return string value representing a Profile object
-
-
-
Constructor Detail
-
Profile
public Profile(String name, String type, org.json.simple.JSONObject obj, org.json.simple.JSONArray secure)
Partition constructor- Parameters:
name- profile nametype- profile typeobj- JSON object of property values within a profile section from Zowe Global Team Configurationsecure- jsonarray value of a secure section
-
-
Method Detail
-
getName
public String getName()
Return profile name- Returns:
- profile name string value
-
getType
public String getType()
Return profile type- Returns:
- profile type string value
-
getProperties
public Map<String,String> getProperties()
Return hashmap of property values- Returns:
- profile property key/value pairs
-
getSecure
public org.json.simple.JSONArray getSecure()
Return secure value- Returns:
- secure Json object
-
-