Class SarifLog.Component
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Component
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSarifLog.Component.ComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.Component.ComponentBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetInformationUri()The absolute URI at which information about this version of the tool component can be found.StringgetName()The name of the tool component.List<SarifLog.ReportingDescriptor>getRules()An array of reportingDescriptor objects relevant to the analysis performed by the tool component.StringgetVersion()The tool component version, in whatever format the component natively provides.inthashCode()SarifLog.ComponentsetInformationUri(String informationUri)The absolute URI at which information about this version of the tool component can be found.SarifLog.ComponentsetName(String name)The name of the tool component.SarifLog.ComponentsetRules(List<SarifLog.ReportingDescriptor> rules)An array of reportingDescriptor objects relevant to the analysis performed by the tool component.SarifLog.ComponentsetVersion(String version)The tool component version, in whatever format the component natively provides.SarifLog.Component.ComponentBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static SarifLog.Component.ComponentBuilder builder()
-
toBuilder
public SarifLog.Component.ComponentBuilder toBuilder()
-
getName
public String getName()
The name of the tool component.
-
getVersion
public String getVersion()
The tool component version, in whatever format the component natively provides.
-
getInformationUri
public String getInformationUri()
The absolute URI at which information about this version of the tool component can be found.
-
getRules
public List<SarifLog.ReportingDescriptor> getRules()
An array of reportingDescriptor objects relevant to the analysis performed by the tool component.
-
setName
public SarifLog.Component setName(String name)
The name of the tool component.- Returns:
this.
-
setVersion
public SarifLog.Component setVersion(String version)
The tool component version, in whatever format the component natively provides.- Returns:
this.
-
setInformationUri
public SarifLog.Component setInformationUri(String informationUri)
The absolute URI at which information about this version of the tool component can be found.- Returns:
this.
-
setRules
public SarifLog.Component setRules(List<SarifLog.ReportingDescriptor> rules)
An array of reportingDescriptor objects relevant to the analysis performed by the tool component.- Returns:
this.
-
canEqual
protected boolean canEqual(Object other)
-
-