Package jp.vmi.selenium.selenese.result
Class CommandResult
- java.lang.Object
-
- jp.vmi.selenium.selenese.result.CommandResult
-
public class CommandResult extends Object
Pair of command and result.
-
-
Constructor Summary
Constructors Constructor Description CommandResult(String sequence, ICommand command, List<Screenshot> screenshots, Result result, long startTime, long endTime)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICommandgetCommand()Get command.longgetDuration()Get duration.longgetEndTime()Get end time.ResultgetResult()Get result.List<Screenshot>getScreenshots()Get list of screenshot information.StringgetSequence()Get sequence.longgetStartTime()Get start time.
-
-
-
Constructor Detail
-
CommandResult
public CommandResult(String sequence, ICommand command, List<Screenshot> screenshots, Result result, long startTime, long endTime)
Constructor.- Parameters:
sequence- sequence.command- command.screenshots- list of screenshot information.result- the result of above command.startTime- start time.endTime- end time.
-
-
Method Detail
-
getSequence
public String getSequence()
Get sequence.- Returns:
- sequenc.
-
getCommand
public ICommand getCommand()
Get command.- Returns:
- command.
-
getScreenshots
public List<Screenshot> getScreenshots()
Get list of screenshot information.- Returns:
- list of screenshot information.
-
getResult
public Result getResult()
Get result.- Returns:
- result.
-
getStartTime
public long getStartTime()
Get start time.- Returns:
- start time. (ms)
-
getEndTime
public long getEndTime()
Get end time.- Returns:
- end time. (ms)
-
getDuration
public long getDuration()
Get duration.- Returns:
- duration. (ms)
-
-