Record Class BrowseProjectsPage.ProjectEntity
java.lang.Object
java.lang.Record
com.atlassian.jira.pageobjects.pages.project.BrowseProjectsPage.ProjectEntity
- Enclosing class:
BrowseProjectsPage
-
Constructor Summary
ConstructorsConstructorDescriptionProjectEntity
(com.atlassian.pageobjects.elements.PageElement rowElement) ProjectEntity
(String projectName, String projectKey, String projectType, String projectCategory, String projectLead, String url, String issuesCount) Creates an instance of aProjectEntity
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theissuesCount
record component.Returns the value of theprojectCategory
record component.Returns the value of theprojectKey
record component.Returns the value of theprojectLead
record component.Returns the value of theprojectName
record component.Returns the value of theprojectType
record component.final String
toString()
Returns a string representation of this record class.url()
Returns the value of theurl
record component.
-
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 aProjectEntity
record class.- Parameters:
projectName
- the value for theprojectName
record componentprojectKey
- the value for theprojectKey
record componentprojectType
- the value for theprojectType
record componentprojectCategory
- the value for theprojectCategory
record componentprojectLead
- the value for theprojectLead
record componenturl
- the value for theurl
record componentissuesCount
- the value for theissuesCount
record component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
projectName
Returns the value of theprojectName
record component.- Returns:
- the value of the
projectName
record component
-
projectKey
Returns the value of theprojectKey
record component.- Returns:
- the value of the
projectKey
record component
-
projectType
Returns the value of theprojectType
record component.- Returns:
- the value of the
projectType
record component
-
projectCategory
Returns the value of theprojectCategory
record component.- Returns:
- the value of the
projectCategory
record component
-
projectLead
Returns the value of theprojectLead
record component.- Returns:
- the value of the
projectLead
record component
-
url
Returns the value of theurl
record component.- Returns:
- the value of the
url
record component
-
issuesCount
Returns the value of theissuesCount
record component.- Returns:
- the value of the
issuesCount
record component
-