java.lang.Object
org.neo4j.driver.internal.summary.InternalNotification
- All Implemented Interfaces:
Notification
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInternalNotification
(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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.neo4j.driver.summary.Notification
severity
-
Field Details
-
VALUE_TO_NOTIFICATION
-
-
Constructor Details
-
InternalNotification
public InternalNotification(String code, String title, String description, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationCategory category, String rawCategory, InputPosition position)
-
-
Method Details
-
code
Description copied from interface:Notification
Returns a notification code for the discovered issue.- Specified by:
code
in interfaceNotification
- Returns:
- the notification code
-
title
Description copied from interface:Notification
Returns a short summary of the notification.- Specified by:
title
in interfaceNotification
- Returns:
- the title of the notification.
-
description
Description copied from interface:Notification
Returns a longer description of the notification.- Specified by:
description
in interfaceNotification
- Returns:
- the description of the notification.
-
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 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:Notification
Returns the severity level of the notification.- Specified by:
severityLevel
in interfaceNotification
- Returns:
- the severity level of the notification
-
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 interfaceNotification
- Returns:
- the severity level of the notification
-
category
Description copied from interface:Notification
Returns the category of the notification.- Specified by:
category
in interfaceNotification
- Returns:
- the category of the notification
-
rawCategory
Description copied from interface:Notification
Returns the raw category of the notification as a String returned by the server.- Specified by:
rawCategory
in interfaceNotification
- Returns:
- the category of the notification
-
toString
-