Class SarifLog.Component.ComponentBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Component.ComponentBuilder
-
- Enclosing class:
- SarifLog.Component
public static class SarifLog.Component.ComponentBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.Componentbuild()SarifLog.Component.ComponentBuilderinformationUri(String informationUri)The absolute URI at which information about this version of the tool component can be found.SarifLog.Component.ComponentBuildername(String name)The name of the tool component.SarifLog.Component.ComponentBuilderrules(List<SarifLog.ReportingDescriptor> rules)An array of reportingDescriptor objects relevant to the analysis performed by the tool component.StringtoString()SarifLog.Component.ComponentBuilderversion(String version)The tool component version, in whatever format the component natively provides.
-
-
-
Method Detail
-
name
public SarifLog.Component.ComponentBuilder name(String name)
The name of the tool component.- Returns:
this.
-
version
public SarifLog.Component.ComponentBuilder version(String version)
The tool component version, in whatever format the component natively provides.- Returns:
this.
-
informationUri
public SarifLog.Component.ComponentBuilder informationUri(String informationUri)
The absolute URI at which information about this version of the tool component can be found.- Returns:
this.
-
rules
public SarifLog.Component.ComponentBuilder rules(List<SarifLog.ReportingDescriptor> rules)
An array of reportingDescriptor objects relevant to the analysis performed by the tool component.- Returns:
this.
-
build
public SarifLog.Component build()
-
-