Package edu.umd.cs.findbugs.sarif
Class Notification
- java.lang.Object
-
- edu.umd.cs.findbugs.sarif.Notification
-
class Notification extends java.lang.Object
A class representingnotification
object (§3.58) inrun.invocations.toolExecutionNotifications
(§3.20.21)- See Also:
- 3.58 notification object
-
-
Constructor Summary
Constructors Constructor Description Notification(java.lang.String id, java.lang.String message, Level level, SarifException exception)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Notification
fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) com.google.gson.JsonObject
toJsonObject()
-
-
-
Method Detail
-
toJsonObject
com.google.gson.JsonObject toJsonObject()
-
fromError
static Notification fromError(@NonNull AbstractBugReporter.Error error, @NonNull SourceFinder sourceFinder, @NonNull java.util.Map<java.net.URI,java.lang.String> baseToId)
-
-