Open topic with navigation

com.hp.lft.sdk.sap.gui

## Class SessionLaunchInfo

- java.lang.Object
- - com.hp.lft.sdk.sap.gui.SessionLaunchInfo

-     public class SessionLaunchInfo
      extends Object

  The SAP GuiSession launch parameters.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SessionLaunchInfo()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getClient()` Returns the SAP client.
    `int` | `getInstanceNumber()` Returns the system number property of the session.
    `String` | `getLanguage()` Returns the 2-letter language code.
    `String` | `getPassword()` Returns the encrypted password.
    `String` | `getServerDescription()` Returns the sever description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.
    `InetAddress` | `getServerIp()` Returns the SAP server IP.
    `String` | `getUsername()` Returns the log-on user name.
    `SessionLaunchInfo` | `setClient(String clientValue)` Sets the SAP client.
    `SessionLaunchInfo` | `setInstanceNumber(int newValue)` Sets the system number property of the session.
    `SessionLaunchInfo` | `setLanguage(String lang)` Sets the 2-letter language code.
    `SessionLaunchInfo` | `setPassword(String passwordValue)` Sets the encrypted password.
    `SessionLaunchInfo` | `setServerDescription(String serverDescription)` Sets the server description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.
    `SessionLaunchInfo` | `setServerIP(InetAddress serverIp)` Sets the SAP server IP
    `SessionLaunchInfo` | `setUsername(String username)` Sets The log-on user name.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SessionLaunchInfo

          public SessionLaunchInfo()

  - ### Method Detail

    - #### getServerDescription

          public String getServerDescription()

      Returns the sever 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

          public String getClient()

      Returns the SAP client.
      Returns:
        the SAP client.

    - #### getUsername

          public String getUsername()

      Returns the log-on user name.
      Returns:
        the log-on user name.

    - #### getPassword

          public String getPassword()

      Returns the encrypted password.
      Returns:
        the encrypted password.

    - #### getLanguage

          public String 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

          public InetAddress getServerIp()

      Returns the SAP server IP.
      Returns:
        the SAP server IP.

    - #### setServerDescription

          public SessionLaunchInfo setServerDescription(String serverDescription)

      Sets the sever description, which is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.
      Parameters:
        `serverDescription` - The description is identical to the one displayed in the SAP Logon dialog box and is case-sensitive.
      Returns:
        The builder objecet.

    - #### setClient

          public SessionLaunchInfo setClient(String clientValue)

      Sets the SAP client.
      Parameters:
        `clientValue` - the SAP client.
      Returns:
        The builder object.

    - #### setUsername

          public SessionLaunchInfo setUsername(String username)

      Sets The log-on user name.
      Parameters:
        `username` - the log-on user name.
      Returns:
        The builder object.

    - #### setPassword

          public SessionLaunchInfo setPassword(String passwordValue)

      Sets the encrypted password.
      Parameters:
        `passwordValue` - the encrypted password.
      Returns:
        The builder object.

    - #### setLanguage

          public SessionLaunchInfo setLanguage(String lang)

      Sets the 2-letter language code.
      Parameters:
        `lang` - the 2-letter language code.
      Returns:
        Builder object.

    - #### setInstanceNumber

          public SessionLaunchInfo setInstanceNumber(int newValue)

      Sets the system number property of the session.
      Parameters:
        `newValuethe` - system number property of the session.
      Returns:
        The builder object.

    - #### setServerIP

          public SessionLaunchInfo setServerIP(InetAddress serverIp)

      Sets the SAP server IP
      Parameters:
        `serverIp` - the SAP server IP
      Returns:
        The builder object.