Class ProfileDao


  • public class ProfileDao
    extends Object
    ProfileDao POJO to act as a container for a parsed Zowe Global Team Configuration file representing a profile section with merged properties from other profiles i.e. base, and KeyTarConfig details (containing credential information).
    Version:
    3.0
    Author:
    Frank Giordano
    • Constructor Detail

      • ProfileDao

        public ProfileDao​(Profile profile,
                          String user,
                          String password,
                          String host,
                          String port)
        Partition constructor.
        Parameters:
        profile - profile object from Zowe Global Team Configuration
        user - username from Keytar keyValue
        password - password from Keytar keyValue
        host - host value from Zowe Global Team Configuration
        port - port value from Zowe Global Team Configuration
    • Method Detail

      • getHost

        public String getHost()
        Return host name
        Returns:
        profile host string value
      • getPassword

        public String getPassword()
        Return password
        Returns:
        profile password string value
      • getPort

        public String getPort()
        Return port number
        Returns:
        profile port string value
      • getProfile

        public Profile getProfile()
        Return profile object
        Returns:
        profile object
      • getUser

        public String getUser()
        Return username
        Returns:
        profile username string value
      • toString

        public String toString()
        Return string value representing ProfileDao object
        Overrides:
        toString in class Object
        Returns:
        string representation of ProfileDao