public class WebClientBuilderParameters extends ClientBuilderParameters
Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
cfgOptions
The command line-configuration options.
|
private boolean |
gui
Flag that denotes client type (
true for GUI, false for ChUI). |
private java.lang.String |
referrer
Referrer.
|
private boolean |
trusted
Enables trusted launch mode (no password is used and the OS account is forced).
|
options
Constructor and Description |
---|
WebClientBuilderParameters(boolean gui,
boolean trusted,
java.lang.String referrer,
java.lang.String[] cfgOptions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getClientOptions()
Get Terminal Options.
|
java.lang.String[] |
getConfigOptions()
Get the command-line configuration options.
|
java.lang.String |
getReferrer()
Get referrer address.
|
boolean |
isGui()
Get the flag that reports which web client type is in use.
|
boolean |
isTrusted()
Get the flag that reports is spawning should use trusted mode.
|
getBootstrapConfig, getClassPath, getCommand, getConfigFile, getJvmArguments, getLibPath, getMainClass, getOutputToFile, getPassword, getSpawner, getUser, getUserName, getUuid, getWorkingDirectory, isPasswordAuthentication, isSecure, setPassword, setUserName
private java.lang.String referrer
private boolean gui
true
for GUI, false
for ChUI).private boolean trusted
private final java.lang.String[] cfgOptions
public WebClientBuilderParameters(boolean gui, boolean trusted, java.lang.String referrer, java.lang.String[] cfgOptions)
gui
- Flag that denotes client type (true
for GUI, false
for
ChUI).trusted
- If this instance will be used to launch clients in trusted mode.referrer
- The referrer string to provide the web client. If the client gets disconnected
it will be redirected back to this URL.cfgOptions
- The command-line configuration options. May be null
.public java.util.Map<java.lang.String,java.lang.String> getClientOptions()
public java.lang.String getReferrer()
public boolean isGui()
true
for GUI, false
for ChUI).public boolean isTrusted()
public java.lang.String[] getConfigOptions()
cfgOptions
.