com.saucelabs.selenium.client.client.logging
Class LoggingSeleniumProxy
java.lang.Object
com.saucelabs.selenium.client.client.logging.LoggingSeleniumProxy
- All Implemented Interfaces:
- LoggingSelenium, java.lang.reflect.InvocationHandler
public class LoggingSeleniumProxy
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler, LoggingSelenium
Implements the behavior of the logging Selenium object.
- Author:
- Kohsuke Kawaguchi
|
Method Summary |
com.thoughtworks.selenium.Selenium |
getBaseDriver()
|
java.lang.String |
getId()
|
java.util.logging.Logger |
getLogger()
|
java.util.logging.Level |
getLogLevel()
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
void |
setBaseDriver(com.thoughtworks.selenium.Selenium selenium)
|
void |
setId(java.lang.String id)
|
void |
setLogger(java.util.logging.Logger logger)
|
void |
setLogLevel(java.util.logging.Level level)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LoggingSeleniumProxy
public LoggingSeleniumProxy(com.thoughtworks.selenium.Selenium base)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
setLogger
public void setLogger(java.util.logging.Logger logger)
- Specified by:
setLogger in interface LoggingSelenium
getLogger
public java.util.logging.Logger getLogger()
- Specified by:
getLogger in interface LoggingSelenium
setLogLevel
public void setLogLevel(java.util.logging.Level level)
- Specified by:
setLogLevel in interface LoggingSelenium
getLogLevel
public java.util.logging.Level getLogLevel()
- Specified by:
getLogLevel in interface LoggingSelenium
getBaseDriver
public com.thoughtworks.selenium.Selenium getBaseDriver()
- Specified by:
getBaseDriver in interface LoggingSelenium
setBaseDriver
public void setBaseDriver(com.thoughtworks.selenium.Selenium selenium)
- Specified by:
setBaseDriver in interface LoggingSelenium
getId
public java.lang.String getId()
- Specified by:
getId in interface LoggingSelenium
setId
public void setId(java.lang.String id)
- Specified by:
setId in interface LoggingSelenium
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.