Package org.apache.tapestry5.test
Class ErrorReportingCommandProcessor
- java.lang.Object
 - 
- org.apache.tapestry5.test.ErrorReportingCommandProcessor
 
 
- 
- All Implemented Interfaces:
 com.thoughtworks.selenium.CommandProcessor
public class ErrorReportingCommandProcessor extends Object implements com.thoughtworks.selenium.CommandProcessor
A wrapper around a standard command processor that adds additional exception reporting when a failure occurs. 
- 
- 
Constructor Summary
Constructors Constructor Description ErrorReportingCommandProcessor(com.thoughtworks.selenium.CommandProcessor delegate, ErrorReporter errorReporter) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoCommand(String command, String[] args)booleangetBoolean(String string, String[] strings)boolean[]getBooleanArray(String string, String[] strings)NumbergetNumber(String string, String[] strings)Number[]getNumberArray(String string, String[] strings)StringgetRemoteControlServerLocation()StringgetString(String string, String[] strings)String[]getStringArray(String string, String[] strings)voidsetExtensionJs(String extensionJs)voidstart()voidstart(Object optionsObject)voidstart(String optionsString)voidstop() 
 - 
 
- 
- 
Constructor Detail
- 
ErrorReportingCommandProcessor
public ErrorReportingCommandProcessor(com.thoughtworks.selenium.CommandProcessor delegate, ErrorReporter errorReporter)
 
 - 
 
- 
Method Detail
- 
doCommand
public String doCommand(String command, String[] args)
- Specified by:
 doCommandin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getBoolean
public boolean getBoolean(String string, String[] strings)
- Specified by:
 getBooleanin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getBooleanArray
public boolean[] getBooleanArray(String string, String[] strings)
- Specified by:
 getBooleanArrayin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getNumber
public Number getNumber(String string, String[] strings)
- Specified by:
 getNumberin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getNumberArray
public Number[] getNumberArray(String string, String[] strings)
- Specified by:
 getNumberArrayin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getString
public String getString(String string, String[] strings)
- Specified by:
 getStringin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getStringArray
public String[] getStringArray(String string, String[] strings)
- Specified by:
 getStringArrayin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
start
public void start()
- Specified by:
 startin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
stop
public void stop()
- Specified by:
 stopin interfacecom.thoughtworks.selenium.CommandProcessor
 
- 
getRemoteControlServerLocation
public String getRemoteControlServerLocation()
- Specified by:
 getRemoteControlServerLocationin interfacecom.thoughtworks.selenium.CommandProcessor- Since:
 - 5.1.0.0
 
 
- 
setExtensionJs
public void setExtensionJs(String extensionJs)
- Specified by:
 setExtensionJsin interfacecom.thoughtworks.selenium.CommandProcessor- Since:
 - 5.1.0.0
 
 
- 
start
public void start(String optionsString)
- Specified by:
 startin interfacecom.thoughtworks.selenium.CommandProcessor- Since:
 - 5.1.0.0
 
 
 - 
 
 -