public class CommandTracker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandTracker.Stage
indicates what is the stage.
|
Constructor and Description |
---|
CommandTracker(java.lang.String command,
java.util.Map<java.lang.String,?> parameters) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand() |
long |
getEndTime() |
java.lang.RuntimeException |
getException() |
java.lang.Class<? extends java.lang.RuntimeException> |
getExceptionType() |
java.lang.String |
getMessage() |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters() |
org.openqa.selenium.remote.Response |
getResponce() |
CommandTracker.Stage |
getStage()
Inspect current state of command execution.
|
long |
getStartTime() |
boolean |
hasException() |
void |
setCommand(java.lang.String command) |
void |
setEndTime(long endTime) |
void |
setException(java.lang.RuntimeException exception) |
void |
setParameters(java.util.Map<java.lang.String,?> parameters) |
void |
setResponce(org.openqa.selenium.remote.Response responce) |
void |
setRetry(boolean retry) |
void |
setStage(CommandTracker.Stage stage) |
void |
setStartTime(long startTime) |
public CommandTracker(java.lang.String command, java.util.Map<java.lang.String,?> parameters)
public void setRetry(boolean retry)
public CommandTracker.Stage getStage()
current stage
public void setStage(CommandTracker.Stage stage)
stage
- the stage to setpublic java.lang.String getCommand()
public void setCommand(java.lang.String command)
command
- the command to setpublic java.util.Map<java.lang.String,java.lang.Object> getParameters()
public void setParameters(java.util.Map<java.lang.String,?> parameters)
parameters
- the parameters to setpublic void setException(java.lang.RuntimeException exception)
exception
- the exception to setpublic org.openqa.selenium.remote.Response getResponce()
public void setResponce(org.openqa.selenium.remote.Response responce)
responce
- the responce to setpublic long getStartTime()
public void setStartTime(long startTime)
public long getEndTime()
public void setEndTime(long endTime)
public java.lang.RuntimeException getException()
public boolean hasException()
public java.lang.Class<? extends java.lang.RuntimeException> getExceptionType()
public java.lang.String getMessage()
Copyright © 2000 Infostretch Corp.