|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.runner.OperaRunnerSettings
public class OperaRunnerSettings
Defines a settings object which impacts OperaRunner, the interface for controlling the Opera binary.
| Field Summary | |
|---|---|
protected OperaArguments |
arguments
|
protected Integer |
display
|
protected String |
host
|
protected Level |
loggingLevel
|
protected boolean |
noQuit
|
protected File |
operaBinary
|
protected Integer |
port
|
protected OperaProduct |
product
|
protected String |
profile
|
| Constructor Summary | |
|---|---|
OperaRunnerSettings()
|
|
| Method Summary | |
|---|---|
OperaArguments |
getArguments()
Gets the arguments passed on to Opera. |
File |
getBinary()
Returns the full path to the browser binary. |
static OperaRunnerSettings |
getDefaultSettings()
|
Integer |
getDisplay()
Gets the X display. |
String |
getHost()
The host Opera should connect to. |
Level |
getLoggingLevel()
Returns the logging level of the started Opera process and the process handling mechanism. |
boolean |
getNoQuit()
Returns the whether Opera should quit when OperaRunner is shut down. |
Integer |
getPort()
Returns the port Opera should connect to. |
OperaProduct |
getProduct()
Returns the product currently used, for example desktop or core. |
String |
getProfile()
Sets the directory to use for the Opera profile. |
void |
setArguments(OperaArguments arguments)
Specifies what arguments to pass on to Opera. |
void |
setBinary(File binary)
|
void |
setBinary(String path)
Sets Opera's location. |
void |
setDisplay(Integer display)
Sets the X display to use. |
void |
setHost(String host)
The host Opera should connect to. |
void |
setLoggingLevel(Level level)
Specifies the logging level of the started Opera process and the process handling mechanism. |
void |
setNoQuit(boolean noQuit)
Specifies whether Opera should keep running after OperaRunner is shut down. |
void |
setPort(Integer port)
Specifies the port Opera should connect to. |
void |
setProduct(OperaProduct product)
Sets the product currently used, for example desktop or core. |
void |
setProfile(String profile)
Returns the path to the directory to use for the Opera profile. |
boolean |
supportsDebugProxy()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File operaBinary
protected Integer display
protected OperaProduct product
protected String profile
protected boolean noQuit
protected String host
protected Integer port
protected Level loggingLevel
protected OperaArguments arguments
| Constructor Detail |
|---|
public OperaRunnerSettings()
| Method Detail |
|---|
public File getBinary()
OperaRunnerSettings
getBinary in interface OperaRunnerSettingspublic void setBinary(String path)
OperaRunnerSettings
setBinary in interface OperaRunnerSettingspath - the absolute path to the Opera binarypublic void setBinary(File binary)
public Integer getDisplay()
OperaRunnerSettings
getDisplay in interface OperaRunnerSettings
public void setDisplay(Integer display)
throws UnsupportedOperationException
OperaRunnerSettings
setDisplay in interface OperaRunnerSettingsdisplay - the X display to use
UnsupportedOperationException - if on a non-nix operating systempublic OperaProduct getProduct()
OperaRunnerSettings
getProduct in interface OperaRunnerSettingspublic void setProduct(OperaProduct product)
OperaRunnerSettings
setProduct in interface OperaRunnerSettingsproduct - the profile configuration to usepublic String getProfile()
OperaRunnerSettings
getProfile in interface OperaRunnerSettingspublic void setProfile(String profile)
OperaRunnerSettings
setProfile in interface OperaRunnerSettingsprofile - the absolute path to the profile directorypublic boolean getNoQuit()
OperaRunnerSettings
getNoQuit in interface OperaRunnerSettingspublic void setNoQuit(boolean noQuit)
OperaRunnerSettings
setNoQuit in interface OperaRunnerSettingsnoQuit - true if browser should keep running, false otherwisepublic String getHost()
OperaRunnerSettings
getHost in interface OperaRunnerSettingspublic void setHost(String host)
OperaRunnerSettings
setHost in interface OperaRunnerSettingshost - the host Opera should connect topublic Integer getPort()
OperaRunnerSettings
getPort in interface OperaRunnerSettingspublic void setPort(Integer port)
OperaRunnerSettings
setPort in interface OperaRunnerSettingsport - the port Opera should connect topublic boolean supportsDebugProxy()
public OperaArguments getArguments()
OperaRunnerSettings
getArguments in interface OperaRunnerSettingspublic void setArguments(OperaArguments arguments)
OperaRunnerSettings
setArguments in interface OperaRunnerSettingsarguments - which arguments to pass on to Operapublic Level getLoggingLevel()
OperaRunnerSettings
getLoggingLevel in interface OperaRunnerSettingspublic void setLoggingLevel(Level level)
OperaRunnerSettings
setLoggingLevel in interface OperaRunnerSettingslevel - the logging level to usepublic static OperaRunnerSettings getDefaultSettings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||