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:
- 4.0
- Author:
- Frank Giordano
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classZosConnection.BuilderBuilder class for ZosConnection
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Equals method.AuthTypegetAuthType()Retrieve AuthType: BASIC, TOKEN or SSL enum value for http request processingOptional<String>getBasePath()Retrieve the base path for z/OSMF REST endpointsStringgetCertFilePath()Retrieve certFilePathStringgetCertPassword()Retrieve certPasswordStringgetHost()Retrieve hostStringgetPassword()Retrieve passwordkong.unirest.core.CookiegetToken()Retrieve a cookie object representing a TOKENStringgetUser()Retrieve userStringgetZosmfPort()Retrieve zosmfPortinthashCode()Hashcode method.booleanisSecure()Flag is not used at this time.voidsetBasePath(String basePath)Set the base path for z/OSMF REST endpointsvoidsetUser(String user)Set user value
-
-
-
Method Detail
-
isSecure
public boolean isSecure()
Flag is not used at this time.- Returns:
- boolean value
-
getCertFilePath
public String getCertFilePath()
Retrieve certFilePath- Returns:
- string value
-
getToken
public kong.unirest.core.Cookie getToken()
Retrieve a cookie object representing a TOKEN- Returns:
- Cookie object
-
getPassword
public String getPassword()
Retrieve password- Returns:
- string value
-
getCertPassword
public String getCertPassword()
Retrieve certPassword- Returns:
- string value
-
getUser
public String getUser()
Retrieve user- Returns:
- string value
-
setUser
public void setUser(String user)
Set user value- Parameters:
user- string value
-
getZosmfPort
public String getZosmfPort()
Retrieve zosmfPort- Returns:
- string value
-
getHost
public String getHost()
Retrieve host- Returns:
- string value
-
getAuthType
public AuthType getAuthType()
Retrieve AuthType: BASIC, TOKEN or SSL enum value for http request processing- Returns:
- AuthType enum value
-
setBasePath
public void setBasePath(String basePath)
Set the base path for z/OSMF REST endpoints- Parameters:
basePath- string value
-
getBasePath
public Optional<String> getBasePath()
Retrieve the base path for z/OSMF REST endpoints- Returns:
- string value
-
equals
public boolean equals(Object obj)
Equals method. Use all members for equality.
-
-