Class SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder
-
- Enclosing class:
- SarifLog.ToolExecutionNotification
public static class SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.ToolExecutionNotification
build()
SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder
exception(SarifLog.Exception exception)
A exception component to detail the tool exceptionSarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder
locations(List<SarifLog.Location> locations)
A list of related locations to the errorSarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder
message(SarifLog.Message message)
A message component to detail the runtime errorString
toString()
-
-
-
Method Detail
-
locations
public SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder locations(List<SarifLog.Location> locations)
A list of related locations to the error- Returns:
this
.
-
message
public SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder message(SarifLog.Message message)
A message component to detail the runtime error- Returns:
this
.
-
exception
public SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder exception(SarifLog.Exception exception)
A exception component to detail the tool exception- Returns:
this
.
-
build
public SarifLog.ToolExecutionNotification build()
-
-