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:
- 3.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Return profile nameMap<String,String>
getProperties()
Return hashmap of property valuesorg.json.simple.JSONArray
getSecure()
Return secure valueString
toString()
Return string value representing Profile object
-
-
-
Constructor Detail
-
Profile
public Profile(String name, org.json.simple.JSONObject obj, org.json.simple.JSONArray secure)
Partition constructor- Parameters:
name
- profile nameobj
- json object of property values within profile section from Zowe Global Team Configurationsecure
- jsonarray value of secure section
-
-
Method Detail
-
getName
public String getName()
Return profile name- Returns:
- profile name 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
-
-