java.lang.Object
org.neo4j.driver.internal.summary.InternalNotification
- All Implemented Interfaces:
Notification
-
Constructor Summary
ConstructorsConstructorDescriptionInternalNotification(String code, String title, String description, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationCategory category, String rawCategory, InputPosition position) -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the category of the notification.code()Returns a notification code for the discovered issue.Returns a longer description of the notification.position()The position in the query where this notification points to.Returns the raw category of the notification as a String returned by the server.Returns the raw severity level of the notification as a String returned by the server.Returns the severity level of the notification.title()Returns a short summary of the notification.toString()static Optional<NotificationCategory>
-
Constructor Details
-
InternalNotification
public InternalNotification(String code, String title, String description, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationCategory category, String rawCategory, InputPosition position)
-
-
Method Details
-
valueOf
-
code
Description copied from interface:NotificationReturns a notification code for the discovered issue.- Specified by:
codein interfaceNotification- Returns:
- the notification code
-
title
Description copied from interface:NotificationReturns a short summary of the notification.- Specified by:
titlein interfaceNotification- Returns:
- the title of the notification.
-
description
Description copied from interface:NotificationReturns a longer description of the notification.- Specified by:
descriptionin interfaceNotification- Returns:
- the description of the notification.
-
position
Description copied from interface:NotificationThe 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:
positionin interfaceNotification- Returns:
- the position in the query where the issue was found, or null if no position is associated with this notification.
-
severityLevel
Description copied from interface:NotificationReturns the severity level of the notification.- Specified by:
severityLevelin interfaceNotification- Returns:
- the severity level of the notification
-
rawSeverityLevel
Description copied from interface:NotificationReturns the raw severity level of the notification as a String returned by the server.- Specified by:
rawSeverityLevelin interfaceNotification- Returns:
- the severity level of the notification
-
category
Description copied from interface:NotificationReturns the category of the notification.- Specified by:
categoryin interfaceNotification- Returns:
- the category of the notification
-
rawCategory
Description copied from interface:NotificationReturns the raw category of the notification as a String returned by the server.- Specified by:
rawCategoryin interfaceNotification- Returns:
- the category of the notification
-
toString
-