Record Class SlackResponderManagement.View
java.lang.Object
java.lang.Record
io.jenkins.plugins.changeinvestigator.slack.config.SlackResponderManagement.View
- Enclosing class:
SlackResponderManagement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.getError()getId()intintgetPage()intgetPages()getQuery()getRows()intgetTotal()final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.identity()Returns the value of theidentityrecord component.intmatching()Returns the value of thematchingrecord component.intpage()Returns the value of thepagerecord component.intpages()Returns the value of thepagesrecord component.query()Returns the value of thequeryrecord component.rows()Returns the value of therowsrecord component.Returns the value of theslackUserrecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Constructor Details
-
View
public View(String query, List<ResponderMapping> rows, int matching, int total, int page, int pages, String id, String identity, String slackUser, String error) Creates an instance of aViewrecord class.- Parameters:
query- the value for thequeryrecord componentrows- the value for therowsrecord componentmatching- the value for thematchingrecord componenttotal- the value for thetotalrecord componentpage- the value for thepagerecord componentpages- the value for thepagesrecord componentid- the value for theidrecord componentidentity- the value for theidentityrecord componentslackUser- the value for theslackUserrecord componenterror- the value for theerrorrecord component
-
-
Method Details
-
getQuery
-
getRows
-
getMatching
public int getMatching() -
getTotal
public int getTotal() -
getPage
public int getPage() -
getPages
public int getPages() -
getId
-
getIdentity
-
getSlackUser
-
getError
-
getPreviousUrl
-
getNextUrl
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-
rows
Returns the value of therowsrecord component.- Returns:
- the value of the
rowsrecord component
-
matching
public int matching()Returns the value of thematchingrecord component.- Returns:
- the value of the
matchingrecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
page
public int page()Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
pages
public int pages()Returns the value of thepagesrecord component.- Returns:
- the value of the
pagesrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
identity
Returns the value of theidentityrecord component.- Returns:
- the value of the
identityrecord component
-
slackUser
Returns the value of theslackUserrecord component.- Returns:
- the value of the
slackUserrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-