Package com.hp.lft.sdk.sap.gui
Class SessionLaunchInfo
java.lang.Object
com.hp.lft.sdk.sap.gui.SessionLaunchInfo
The SAP GuiSession launch parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the SAP client.intReturns the system number property of the session.Returns the 2-letter language code.Returns the encrypted password.Returns the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.Returns the SAP server IP.Returns the log-on user name.Sets the SAP client.setInstanceNumber(int newValue) Sets the system number property of the session.setLanguage(String lang) Sets the 2-letter language code.setPassword(String passwordValue) Sets the encrypted password.setServerDescription(String serverDescription) Sets the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.setServerIP(InetAddress serverIp) Sets the SAP server IPsetUsername(String username) Sets The log-on user name.
-
Constructor Details
-
SessionLaunchInfo
public SessionLaunchInfo()
-
-
Method Details
-
getServerDescription
Returns the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.- Returns:
- the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.
-
getClient
Returns the SAP client.- Returns:
- the SAP client.
-
getUsername
Returns the log-on user name.- Returns:
- the log-on user name.
-
getPassword
Returns the encrypted password.- Returns:
- the encrypted password.
-
getLanguage
Returns the 2-letter language code.- Returns:
- the 2-letter language code.
-
getInstanceNumber
public int getInstanceNumber()Returns the system number property of the session.- Returns:
- the system number property of the session.
-
getServerIp
Returns the SAP server IP.- Returns:
- the SAP server IP.
-
setServerDescription
Sets the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.- Parameters:
serverDescription- the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.- Returns:
- The builder object.
-
setClient
Sets the SAP client.- Parameters:
clientValue- the SAP client.- Returns:
- The builder object.
-
setUsername
Sets The log-on user name.- Parameters:
username- the log-on user name.- Returns:
- The builder object.
-
setPassword
Sets the encrypted password.- Parameters:
passwordValue- the encrypted password.- Returns:
- The builder object.
-
setLanguage
Sets the 2-letter language code.- Parameters:
lang- the 2-letter language code.- Returns:
- Builder object.
-
setInstanceNumber
Sets the system number property of the session.- Parameters:
newValue- the system number property of the session.- Returns:
- The builder object.
-
setServerIP
Sets the SAP server IP- Parameters:
serverIp- the SAP server IP- Returns:
- The builder object.
-