Class ShellServiceOptions

    • Constructor Detail

      • ShellServiceOptions

        public ShellServiceOptions()
      • ShellServiceOptions

        public ShellServiceOptions​(JsonObject json)
    • Method Detail

      • setWelcomeMessage

        public ShellServiceOptions setWelcomeMessage​(String welcomeMessage)
        Description copied from class: ShellServerOptions
        Set the shell welcome message, i.e the message displayed in the user console when he connects to the shell.
        Overrides:
        setWelcomeMessage in class ShellServerOptions
        Parameters:
        welcomeMessage - the welcome message
        Returns:
        a reference to this, so the API can be used fluently
      • setReaperInterval

        public ShellServiceOptions setReaperInterval​(long reaperInterval)
        Description copied from class: ShellServerOptions
        Set the repear interval, i.e the period at which session eviction is performed.
        Overrides:
        setReaperInterval in class ShellServerOptions
        Parameters:
        reaperInterval - the new repeat interval
        Returns:
        a reference to this, so the API can be used fluently
      • getTelnetOptions

        public TelnetTermOptions getTelnetOptions()
        Returns:
        the Telnet options
      • setTelnetOptions

        public ShellServiceOptions setTelnetOptions​(TelnetTermOptions telnetOptions)
        Set the Telnet options, if the option is null, Telnet will not be started.
        Parameters:
        telnetOptions - the ssh options
        Returns:
        a reference to this, so the API can be used fluently
      • getSSHOptions

        public SSHTermOptions getSSHOptions()
        Returns:
        the SSH options
      • setSSHOptions

        public ShellServiceOptions setSSHOptions​(SSHTermOptions sshOptions)
        Set the SSH options, if the option is null, SSH will not be started.
        Parameters:
        sshOptions - the ssh options
        Returns:
        a reference to this, so the API can be used fluently