Record Class WorkingSetReportTable.Row

java.lang.Object
java.lang.Record
network.ike.plugin.ws.WorkingSetReportTable.Row
Record Components:
member - the working-set member — carries its name and kind
version - the member's version, or null/blank for none
branch - the member's branch, or null/blank for none
sha - the member's short HEAD SHA, WorkingSetReportTable.SELF_COMMIT for the checkpoint self-pin, or null/blank for none
effect - what the goal did or will do to this member
Enclosing class:
WorkingSetReportTable

public static record WorkingSetReportTable.Row(network.ike.workspace.WorkingSet.Member member, String version, String branch, String sha, String effect) extends Record
One working-set member's row of report data.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Row(network.ike.workspace.WorkingSet.Member member, String version, String branch, String sha, String effect)
    Creates an instance of a Row record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the branch record component.
    Returns the value of the effect record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    network.ike.workspace.WorkingSet.Member
    Returns the value of the member record component.
    sha()
    Returns the value of the sha record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the version record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Row

      public Row(network.ike.workspace.WorkingSet.Member member, String version, String branch, String sha, String effect)
      Creates an instance of a Row record class.
      Parameters:
      member - the value for the member record component
      version - the value for the version record component
      branch - the value for the branch record component
      sha - the value for the sha record component
      effect - the value for the effect 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • member

      public network.ike.workspace.WorkingSet.Member member()
      Returns the value of the member record component.
      Returns:
      the value of the member record component
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • branch

      public String branch()
      Returns the value of the branch record component.
      Returns:
      the value of the branch record component
    • sha

      public String sha()
      Returns the value of the sha record component.
      Returns:
      the value of the sha record component
    • effect

      public String effect()
      Returns the value of the effect record component.
      Returns:
      the value of the effect record component