Class CasesTable.CaseRow

  • Enclosing class:
    CasesTable

    public static class CasesTable.CaseRow
    extends java.lang.Object
    Represents one case of a scenario.
    • Constructor Summary

      Constructors 
      Constructor Description
      CaseRow​(int rowNumber, java.lang.String description, java.util.List<java.lang.String> arguments, ExecutionStatus executionStatus, long durationInNanos, java.lang.String errorMessage, java.util.List<java.lang.String> stackTrace)
      Create a new row representing a single ScenarioCaseModel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> arguments()
      The argument values of the case.
      java.util.Optional<java.lang.String> description()
      The case description.
      long durationInNanos()
      The duration of the case.
      java.util.Optional<java.lang.String> errorMessage()
      The error message of the case if any.
      int rowNumber()
      The row number starting from 1.
      java.util.List<java.lang.String> stackTrace()
      The stack trace of the case if any.
      ExecutionStatus status()
      The execution status of the case.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CaseRow

        public CaseRow​(int rowNumber,
                       java.lang.String description,
                       java.util.List<java.lang.String> arguments,
                       ExecutionStatus executionStatus,
                       long durationInNanos,
                       java.lang.String errorMessage,
                       java.util.List<java.lang.String> stackTrace)
        Create a new row representing a single ScenarioCaseModel.
        Parameters:
        rowNumber - the case number
        description - the case's description
        arguments - the case's arguments
        executionStatus - the case's execution result
        durationInNanos - the duration it took to execute the case
        errorMessage - the case's error message if any
        stackTrace - the case's stackTrace if any
    • Method Detail

      • rowNumber

        public int rowNumber()
        The row number starting from 1.
      • description

        public java.util.Optional<java.lang.String> description()
        The case description.
      • arguments

        public java.util.List<java.lang.String> arguments()
        The argument values of the case.
      • status

        public ExecutionStatus status()
        The execution status of the case.
      • durationInNanos

        public long durationInNanos()
        The duration of the case.
      • errorMessage

        public java.util.Optional<java.lang.String> errorMessage()
        The error message of the case if any.
      • stackTrace

        public java.util.List<java.lang.String> stackTrace()
        The stack trace of the case if any.