com.opera.core.systems.runner.launcher
Class OperaLauncherRunnerSettings

java.lang.Object
  extended by com.opera.core.systems.runner.OperaRunnerSettings
      extended by com.opera.core.systems.runner.launcher.OperaLauncherRunnerSettings
All Implemented Interfaces:
OperaRunnerSettings

public class OperaLauncherRunnerSettings
extends OperaRunnerSettings


Field Summary
protected  String backend
           
protected  File launcher
           
static Logger logger
           
 
Fields inherited from class com.opera.core.systems.runner.OperaRunnerSettings
arguments, display, host, loggingLevel, noQuit, operaBinary, port, product, profile
 
Constructor Summary
OperaLauncherRunnerSettings()
           
 
Method Summary
 String getBackend()
          Deprecated. 
static OperaLauncherRunnerSettings getDefaultSettings()
           
 File getLauncher()
           
protected static String getLauncherNameForOS()
          Get the launcher's binary file name based on what flavour of operating system and what kind of architecture the user is using.
 void makeLauncherExecutable()
           
 void setBackend(String backend)
          Deprecated. 
 void setLauncher(File launcher)
           
 void setLoggingLevel(Level level)
          Specifies the logging level of the started Opera process and the process handling mechanism.
 
Methods inherited from class com.opera.core.systems.runner.OperaRunnerSettings
getArguments, getBinary, getDisplay, getHost, getLoggingLevel, getNoQuit, getPort, getProduct, getProfile, setArguments, setBinary, setBinary, setDisplay, setHost, setNoQuit, setPort, setProduct, setProfile, setProfile, supportsDebugProxy, supportsPd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger

launcher

protected File launcher

backend

protected String backend
Constructor Detail

OperaLauncherRunnerSettings

public OperaLauncherRunnerSettings()
Method Detail

setLoggingLevel

public void setLoggingLevel(Level level)
Description copied from interface: OperaRunnerSettings
Specifies the logging level of the started Opera process and the process handling mechanism.

Specified by:
setLoggingLevel in interface OperaRunnerSettings
Overrides:
setLoggingLevel in class OperaRunnerSettings
Parameters:
level - the logging level to use

getLauncher

public File getLauncher()

setLauncher

public void setLauncher(File launcher)

getBackend

@Deprecated
public String getBackend()
Deprecated. 

Gets the rendering backend currently used.

Returns:
"software" or "hardware" depending on backend used

setBackend

@Deprecated
public void setBackend(String backend)
Deprecated. 

Sets which rendering backend to use. Available backends are "software" and "hardware".

Parameters:
backend - the rendering backend to use

getDefaultSettings

public static OperaLauncherRunnerSettings getDefaultSettings()

makeLauncherExecutable

public void makeLauncherExecutable()

getLauncherNameForOS

protected static String getLauncherNameForOS()
Get the launcher's binary file name based on what flavour of operating system and what kind of architecture the user is using.

Returns:
the launcher's binary file name


Copyright © 2012. All Rights Reserved.