Class InternalNotification

java.lang.Object
org.neo4j.driver.internal.summary.InternalNotification
All Implemented Interfaces:
Notification

public class InternalNotification extends Object implements Notification
  • Field Details

  • Constructor Details

  • Method Details

    • code

      public String code()
      Description copied from interface: Notification
      Returns a notification code for the discovered issue.
      Specified by:
      code in interface Notification
      Returns:
      the notification code
    • title

      public String title()
      Description copied from interface: Notification
      Returns a short summary of the notification.
      Specified by:
      title in interface Notification
      Returns:
      the title of the notification.
    • description

      public String description()
      Description copied from interface: Notification
      Returns a longer description of the notification.
      Specified by:
      description in interface Notification
      Returns:
      the description of the notification.
    • position

      public InputPosition position()
      Description copied from interface: Notification
      The position in the query where this notification points to. Not all notifications have a unique position to point to and in that case the position would be set to null.
      Specified by:
      position in interface Notification
      Returns:
      the position in the query where the issue was found, or null if no position is associated with this notification.
    • severityLevel

      public Optional<NotificationSeverity> severityLevel()
      Description copied from interface: Notification
      Returns the severity level of the notification.
      Specified by:
      severityLevel in interface Notification
      Returns:
      the severity level of the notification
    • rawSeverityLevel

      public Optional<String> rawSeverityLevel()
      Description copied from interface: Notification
      Returns the raw severity level of the notification as a String returned by the server.
      Specified by:
      rawSeverityLevel in interface Notification
      Returns:
      the severity level of the notification
    • category

      public Optional<NotificationCategory> category()
      Description copied from interface: Notification
      Returns the category of the notification.
      Specified by:
      category in interface Notification
      Returns:
      the category of the notification
    • rawCategory

      public Optional<String> rawCategory()
      Description copied from interface: Notification
      Returns the raw category of the notification as a String returned by the server.
      Specified by:
      rawCategory in interface Notification
      Returns:
      the category of the notification
    • toString

      public String toString()
      Overrides:
      toString in class Object