Class SarifLog.Component

  • Enclosing class:
    SarifLog

    public static class SarifLog.Component
    extends Object
    A component, such as a plug-in or the driver, of the analysis tool that was run.
    • Method Detail

      • 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.
      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object