Package org.graylog.plugins.views.search
Record Class SearchJobIdentifier
java.lang.Object
java.lang.Record
org.graylog.plugins.views.search.SearchJobIdentifier
-
Constructor Summary
ConstructorsConstructorDescriptionSearchJobIdentifier(String id, String searchId, String owner, String executingNodeId) Creates an instance of aSearchJobIdentifierrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutingNodeIdrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.owner()Returns the value of theownerrecord component.searchId()Returns the value of thesearchIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchJobIdentifier
Creates an instance of aSearchJobIdentifierrecord class.- Parameters:
id- the value for theidrecord componentsearchId- the value for thesearchIdrecord componentowner- the value for theownerrecord componentexecutingNodeId- the value for theexecutingNodeIdrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
searchId
Returns the value of thesearchIdrecord component.- Returns:
- the value of the
searchIdrecord component
-
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
executingNodeId
Returns the value of theexecutingNodeIdrecord component.- Returns:
- the value of the
executingNodeIdrecord component
-