Package zowe.client.sdk.teamconfig.model
Class ProfileDao
- java.lang.Object
-
- zowe.client.sdk.teamconfig.model.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:
- 2.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()Return host nameStringgetPassword()Return passwordStringgetPort()Return port numberProfilegetProfile()Return profile objectStringgetUser()Return usernameStringtoString()Return string value representing ProfileDao object
-
-
-
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 Configurationuser- username from Keytar keyValuepassword- password from Keytar keyValuehost- host value from Zowe Global Team Configurationport- 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
-
-