|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperaRunnerSettings
Defines a settings object which impacts OperaRunner, the interface for controlling the Opera binary.
| Method Summary | |
|---|---|
OperaArguments |
getArguments()
Gets the arguments passed on to Opera. |
File |
getBinary()
Returns the full path to the browser binary. |
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. |
OperaProfile |
getProfile()
Returns an OperaProfile object containing all settings related to the Opera profile to
be used. |
void |
setArguments(OperaArguments arguments)
Specifies what arguments to pass on to Opera. |
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(OperaProfile profile)
Sets the profile to use as an Opera profile represented as an object. |
void |
setProfile(String profile)
Sets the directory to use for the Opera profile. |
boolean |
supportsDebugProxy()
Whether or not the currently specified Opera configuration supports the -debugproxy command-line argument. |
boolean |
supportsPd()
Whether or not the currently specified Opera configuration supports the -pd
command-line argument. |
| Method Detail |
|---|
File getBinary()
void setBinary(String path)
path - the absolute path to the Opera binaryInteger getDisplay()
void setDisplay(Integer display)
throws UnsupportedOperationException
display - the X display to use
UnsupportedOperationException - if on a non-nix operating systemOperaProduct getProduct()
void setProduct(OperaProduct product)
product - the profile configuration to useOperaProfile getProfile()
OperaProfile object containing all settings related to the Opera profile to
be used. This might be anything from the path to the profile directory, to preferences used
in Opera.
void setProfile(String profile)
profile - the absolute path to the profile directoryvoid setProfile(OperaProfile profile)
profile - the Opera profile to useboolean getNoQuit()
void setNoQuit(boolean noQuit)
noQuit - true if browser should keep running, false otherwiseString getHost()
void setHost(String host)
host - the host Opera should connect toInteger getPort()
void setPort(Integer port)
port - the port Opera should connect toboolean supportsDebugProxy()
-debugproxy command-line argument. If the specified port is not equal to
the default proxy server port specified in OperaIntervals.SERVER_PORT,
this will be true.
-debugproxy command-line argument,
false otherwiseboolean supportsPd()
-pd
command-line argument.
-pd command-line argument.OperaArguments getArguments()
void setArguments(OperaArguments arguments)
arguments - which arguments to pass on to OperaLevel getLoggingLevel()
void setLoggingLevel(Level level)
level - the logging level to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||