public class ShellServiceOptions extends Object
TelnetOptions and SSHOptions.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WELCOME_MESSAGE |
| Constructor and Description |
|---|
ShellServiceOptions() |
ShellServiceOptions(JsonObject json) |
ShellServiceOptions(ShellServiceOptions that) |
| Modifier and Type | Method and Description |
|---|---|
SSHOptions |
getSSH() |
TelnetOptions |
getTelnetOptions() |
String |
getWelcomeMessage() |
ShellServiceOptions |
setSSHOptions(SSHOptions sshOptions)
Set the SSH options, if the option is null, SSH will not be started.
|
ShellServiceOptions |
setTelnetOptions(TelnetOptions telnetOptions)
Set the Telnet options, if the option is null, Telnet will not be started.
|
ShellServiceOptions |
setWelcomeMessage(String welcomeMessage)
Set the shell welcome message, i.e the message displayed in the user console when he connects to the shell.
|
public static final String DEFAULT_WELCOME_MESSAGE
public ShellServiceOptions()
public ShellServiceOptions(ShellServiceOptions that)
public ShellServiceOptions(JsonObject json)
public String getWelcomeMessage()
public ShellServiceOptions setWelcomeMessage(String welcomeMessage)
welcomeMessage - the welcome messagepublic TelnetOptions getTelnetOptions()
public ShellServiceOptions setTelnetOptions(TelnetOptions telnetOptions)
telnetOptions - the ssh optionspublic SSHOptions getSSH()
public ShellServiceOptions setSSHOptions(SSHOptions sshOptions)
sshOptions - the ssh optionsCopyright © 2015. All rights reserved.