com.hp.lft.sdk.sap.gui

Class SessionLaunchInfo



  • public class SessionLaunchInfo
    extends Object
    The SAP GuiSession launch parameters.
    • 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 object.
      • 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.