com.saucelabs.selenium.client.logging
Class LoggingSeleniumProxy

java.lang.Object
  extended by com.saucelabs.selenium.client.logging.LoggingSeleniumProxy
All Implemented Interfaces:
LoggingSelenium, InvocationHandler

public class LoggingSeleniumProxy
extends Object
implements InvocationHandler, LoggingSelenium

Implements the behavior of the logging Selenium object.

Author:
Kohsuke Kawaguchi

Constructor Summary
LoggingSeleniumProxy(com.thoughtworks.selenium.Selenium base)
           
 
Method Summary
 com.thoughtworks.selenium.Selenium getBaseDriver()
           
 String getId()
           
 Logger getLogger()
           
 Level getLogLevel()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 void setBaseDriver(com.thoughtworks.selenium.Selenium selenium)
           
 void setId(String id)
           
 void setLogger(Logger logger)
           
 void setLogLevel(Level level)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoggingSeleniumProxy

public LoggingSeleniumProxy(com.thoughtworks.selenium.Selenium base)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

setLogger

public void setLogger(Logger logger)
Specified by:
setLogger in interface LoggingSelenium

getLogger

public Logger getLogger()
Specified by:
getLogger in interface LoggingSelenium

setLogLevel

public void setLogLevel(Level level)
Specified by:
setLogLevel in interface LoggingSelenium

getLogLevel

public 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 String getId()
Specified by:
getId in interface LoggingSelenium

setId

public void setId(String id)
Specified by:
setId in interface LoggingSelenium

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.