|
||||||||||
| 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. |
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(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. |
| 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 useString getProfile()
void setProfile(String profile)
profile - the absolute path to the profile directoryboolean 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 toOperaArguments 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 | |||||||||