Package edu.umd.cs.findbugs.sarif
Class Notification
java.lang.Object
edu.umd.cs.findbugs.sarif.Notification
A class representing
notification
object (§3.58) in run.invocations.toolExecutionNotifications
(§3.20.21)- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotification
(String id, String message, Level level, SarifException exception) -
Method Summary
Modifier and TypeMethodDescription(package private) static Notification
fromError
(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) com.google.gson.JsonObject
-
Field Details
-
id
-
message
-
level
-
exception
-
-
Constructor Details
-
Notification
-
-
Method Details
-
toJsonObject
com.google.gson.JsonObject toJsonObject() -
fromError
static Notification fromError(@NonNull AbstractBugReporter.Error error, @NonNull SourceFinder sourceFinder, @NonNull Map<URI, String> baseToId)
-