Record Class BrowseProjectsPage.ProjectEntity

java.lang.Object
java.lang.Record
com.atlassian.jira.pageobjects.pages.project.BrowseProjectsPage.ProjectEntity
Enclosing class:
BrowseProjectsPage

public static record BrowseProjectsPage.ProjectEntity(String projectName, String projectKey, String projectType, String projectCategory, String projectLead, String url, String issuesCount) extends Record
  • Constructor Details

    • ProjectEntity

      public ProjectEntity(com.atlassian.pageobjects.elements.PageElement rowElement)
    • ProjectEntity

      public ProjectEntity(String projectName, String projectKey, String projectType, String projectCategory, String projectLead, String url, String issuesCount)
      Creates an instance of a ProjectEntity record class.
      Parameters:
      projectName - the value for the projectName record component
      projectKey - the value for the projectKey record component
      projectType - the value for the projectType record component
      projectCategory - the value for the projectCategory record component
      projectLead - the value for the projectLead record component
      url - the value for the url record component
      issuesCount - the value for the issuesCount 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.
    • projectName

      public String projectName()
      Returns the value of the projectName record component.
      Returns:
      the value of the projectName record component
    • projectKey

      public String projectKey()
      Returns the value of the projectKey record component.
      Returns:
      the value of the projectKey record component
    • projectType

      public String projectType()
      Returns the value of the projectType record component.
      Returns:
      the value of the projectType record component
    • projectCategory

      public String projectCategory()
      Returns the value of the projectCategory record component.
      Returns:
      the value of the projectCategory record component
    • projectLead

      public String projectLead()
      Returns the value of the projectLead record component.
      Returns:
      the value of the projectLead record component
    • url

      public String url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • issuesCount

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