Package com.thoughtworks.selenium
Class DefaultRemoteCommand
- java.lang.Object
-
- com.thoughtworks.selenium.DefaultRemoteCommand
-
- All Implemented Interfaces:
RemoteCommand
public class DefaultRemoteCommand extends java.lang.Object implements RemoteCommand
The default implementation of the RemoteCommand interface- See Also:
RemoteCommand
-
-
Constructor Summary
Constructors Constructor Description DefaultRemoteCommand(java.lang.String command, java.lang.String[] args)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandURLString()static RemoteCommandparse(java.lang.String inputLine)Factory method to create a RemoteCommand from a wiki-style input stringjava.lang.StringtoString()
-
-
-
Method Detail
-
getCommandURLString
public java.lang.String getCommandURLString()
- Specified by:
getCommandURLStringin interfaceRemoteCommand- Returns:
- the URL query string which will be sent to the browser
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
parse
public static RemoteCommand parse(java.lang.String inputLine)
Factory method to create a RemoteCommand from a wiki-style input string- Parameters:
inputLine- wiki-style input string- Returns:
- RemoteCommand
-
-