Package zowe.client.sdk.core
Class ZosConnection
- java.lang.Object
-
- zowe.client.sdk.core.ZosConnection
-
public class ZosConnection extends Object
z/OSMF Connection information placeholder- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Equals method.AuthType
getAuthType()
Retrieve AuthType: BASIC, TOKEN or SSL enum value for http request processingOptional<String>
getBasePath()
Retrieve the base path for z/OSMF REST endpointsString
getCertFilePath()
Retrieve certFilePathString
getCertPassword()
Retrieve certPasswordString
getHost()
Retrieve hostString
getPassword()
Retrieve passwordkong.unirest.core.Cookie
getToken()
Retrieve a cookie object representing a TOKENString
getUser()
Retrieve userString
getZosmfPort()
Retrieve zosmfPortString
getZosmfUrl()
Retrieve the z/OSMF urlint
hashCode()
Hashcode method.void
setUser(String user)
Set user value
-
-
-
Method Detail
-
getHost
public String getHost()
Retrieve host- Returns:
- string value
-
getZosmfPort
public String getZosmfPort()
Retrieve zosmfPort- Returns:
- string value
-
getAuthType
public AuthType getAuthType()
Retrieve AuthType: BASIC, TOKEN or SSL enum value for http request processing- Returns:
- AuthType enum value
-
getUser
public String getUser()
Retrieve user- Returns:
- string value
-
setUser
public void setUser(String user)
Set user value- Parameters:
user
- string value
-
getPassword
public String getPassword()
Retrieve password- Returns:
- string value
-
getToken
public kong.unirest.core.Cookie getToken()
Retrieve a cookie object representing a TOKEN- Returns:
- Cookie object
-
getCertFilePath
public String getCertFilePath()
Retrieve certFilePath- Returns:
- string value
-
getCertPassword
public String getCertPassword()
Retrieve certPassword- Returns:
- string value
-
getBasePath
public Optional<String> getBasePath()
Retrieve the base path for z/OSMF REST endpoints- Returns:
- string value
-
getZosmfUrl
public String getZosmfUrl()
Retrieve the z/OSMF url- Returns:
- string value
-
equals
public boolean equals(Object obj)
Equals method. Use all members for equality except for TOKEN, which is a special case and uses a subset of members for equality.
-
-