Package net.masterthought.cucumber.json
Class Result
- java.lang.Object
-
- net.masterthought.cucumber.json.Result
-
- All Implemented Interfaces:
Durationable
public class Result extends Object implements Durationable
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDuration()Returns duration for given item.StringgetErrorMessage()StringgetErrorMessageTitle()StringgetFormattedDuration()Returns duration displayed in humanable format.StatusgetStatus()
-
-
-
Method Detail
-
getStatus
public Status getStatus()
-
getDuration
public long getDuration()
Description copied from interface:DurationableReturns duration for given item.- Specified by:
getDurationin interfaceDurationable- Returns:
- duration
-
getFormattedDuration
public String getFormattedDuration()
Description copied from interface:DurationableReturns duration displayed in humanable format.- Specified by:
getFormattedDurationin interfaceDurationable- Returns:
- formatted duration
-
getErrorMessage
public String getErrorMessage()
-
getErrorMessageTitle
public final String getErrorMessageTitle()
-
-