Record Class ReinterpretedOutlines.Outline

java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.gherkin.progress.ReinterpretedOutlines.Outline
Record Components:
title - the outline's own title, unsubstituted, e.g. "Scenario Outline: User logs in as <username>" - the title its now superseded history record is keyed on
featureTitle - the name of the Feature the outline lives under
scenarioCount - how many scenarios the outline is now reported as - one per Examples row; always at least one
Enclosing class:
ReinterpretedOutlines

public static record ReinterpretedOutlines.Outline(String title, String featureTitle, int scenarioCount) extends Record
A single Scenario Outline that this run has started reporting one scenario per Examples row.
  • Constructor Details

    • Outline

      public Outline(String title, String featureTitle, int scenarioCount)
      Creates an instance of a Outline record class.
      Parameters:
      title - the value for the title record component
      featureTitle - the value for the featureTitle record component
      scenarioCount - the value for the scenarioCount record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • featureTitle

      public String featureTitle()
      Returns the value of the featureTitle record component.
      Returns:
      the value of the featureTitle record component
    • scenarioCount

      public int scenarioCount()
      Returns the value of the scenarioCount record component.
      Returns:
      the value of the scenarioCount record component