Class SarifLogBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLogBuilder
-
public class SarifLogBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description SarifLogBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLogBuilder
add(RuleViolation violation)
SarifLogBuilder
addConfigurationError(Report.ConfigurationError error)
SarifLogBuilder
addRunTimeError(Report.ProcessingError error)
SarifLog
build()
static SarifLogBuilder
sarifLogBuilder()
-
-
-
Method Detail
-
sarifLogBuilder
public static SarifLogBuilder sarifLogBuilder()
-
add
public SarifLogBuilder add(RuleViolation violation)
-
addRunTimeError
public SarifLogBuilder addRunTimeError(Report.ProcessingError error)
-
addConfigurationError
public SarifLogBuilder addConfigurationError(Report.ConfigurationError error)
-
build
public SarifLog build()
-
-