Class SarifLog.PropertyBag.PropertyBagBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.PropertyBag.PropertyBagBuilder
-
- Enclosing class:
- SarifLog.PropertyBag
public static class SarifLog.PropertyBag.PropertyBagBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.PropertyBag
build()
SarifLog.PropertyBag.PropertyBagBuilder
priority(Integer priority)
The pmd priority of the rule.SarifLog.PropertyBag.PropertyBagBuilder
ruleset(String ruleset)
The name of the rule set.SarifLog.PropertyBag.PropertyBagBuilder
tags(Set<String> tags)
A set of distinct strings that provide additional information.String
toString()
-
-
-
Method Detail
-
ruleset
public SarifLog.PropertyBag.PropertyBagBuilder ruleset(String ruleset)
The name of the rule set.- Returns:
this
.
-
priority
public SarifLog.PropertyBag.PropertyBagBuilder priority(Integer priority)
The pmd priority of the rule.- Returns:
this
.
-
tags
public SarifLog.PropertyBag.PropertyBagBuilder tags(Set<String> tags)
A set of distinct strings that provide additional information. This is SARIF 2.1.0 Schema.- Returns:
this
.
-
build
public SarifLog.PropertyBag build()
-
-