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 class
SarifLog.Component.ComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.Component.ComponentBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getInformationUri()
The absolute URI at which information about this version of the tool component can be found.String
getName()
The name of the tool component.List<SarifLog.ReportingDescriptor>
getRules()
An array of reportingDescriptor objects relevant to the analysis performed by the tool component.String
getVersion()
The tool component version, in whatever format the component natively provides.int
hashCode()
SarifLog.Component
setInformationUri(String informationUri)
The absolute URI at which information about this version of the tool component can be found.SarifLog.Component
setName(String name)
The name of the tool component.SarifLog.Component
setRules(List<SarifLog.ReportingDescriptor> rules)
An array of reportingDescriptor objects relevant to the analysis performed by the tool component.SarifLog.Component
setVersion(String version)
The tool component version, in whatever format the component natively provides.SarifLog.Component.ComponentBuilder
toBuilder()
String
toString()
-
-
-
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)
-
-