Class 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:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • Profile

        public Profile​(String name,
                       org.json.simple.JSONObject obj,
                       org.json.simple.JSONArray secure)
        Partition constructor.
        Parameters:
        name - profile name
        obj - json object of property values within profile section from Zowe Global Team Configuration
        secure - 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