Record Class RuntimeEventPayload.OfflineOperationCompleted

java.lang.Object
java.lang.Record
org.maplibre.nativeffi.runtime.RuntimeEventPayload.OfflineOperationCompleted
All Implemented Interfaces:
RuntimeEventPayload
Enclosing interface:
RuntimeEventPayload

public static record RuntimeEventPayload.OfflineOperationCompleted(long operationId, OfflineOperationKind operationKind, int rawOperationKind, OfflineOperationResultKind resultKind, int rawResultKind, int resultStatus, boolean found) extends Record implements RuntimeEventPayload
  • Constructor Details

    • OfflineOperationCompleted

      public OfflineOperationCompleted(long operationId, OfflineOperationKind operationKind, int rawOperationKind, OfflineOperationResultKind resultKind, int rawResultKind, int resultStatus, boolean found)
      Creates an instance of a OfflineOperationCompleted record class.
      Parameters:
      operationId - the value for the operationId record component
      operationKind - the value for the operationKind record component
      rawOperationKind - the value for the rawOperationKind record component
      resultKind - the value for the resultKind record component
      rawResultKind - the value for the rawResultKind record component
      resultStatus - the value for the resultStatus record component
      found - the value for the found 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • operationId

      public long operationId()
      Returns the value of the operationId record component.
      Returns:
      the value of the operationId record component
    • operationKind

      public OfflineOperationKind operationKind()
      Returns the value of the operationKind record component.
      Returns:
      the value of the operationKind record component
    • rawOperationKind

      public int rawOperationKind()
      Returns the value of the rawOperationKind record component.
      Returns:
      the value of the rawOperationKind record component
    • resultKind

      public OfflineOperationResultKind resultKind()
      Returns the value of the resultKind record component.
      Returns:
      the value of the resultKind record component
    • rawResultKind

      public int rawResultKind()
      Returns the value of the rawResultKind record component.
      Returns:
      the value of the rawResultKind record component
    • resultStatus

      public int resultStatus()
      Returns the value of the resultStatus record component.
      Returns:
      the value of the resultStatus record component
    • found

      public boolean found()
      Returns the value of the found record component.
      Returns:
      the value of the found record component