Class Result

java.lang.Object
net.masterthought.cucumber.json.Result
All Implemented Interfaces:
Durationable

public class Result extends Object implements Durationable
  • Constructor Details

    • Result

      public Result()
  • Method Details

    • getStatus

      public Status getStatus()
    • getDuration

      public long getDuration()
      Description copied from interface: Durationable
      Returns duration for given item.
      Specified by:
      getDuration in interface Durationable
      Returns:
      duration
    • getFormattedDuration

      public String getFormattedDuration()
      Description copied from interface: Durationable
      Returns duration displayed in humanable format.
      Specified by:
      getFormattedDuration in interface Durationable
      Returns:
      formatted duration
    • getErrorMessage

      public String getErrorMessage()
    • getErrorMessageTitle

      public final String getErrorMessageTitle()