Class ToolApi

  • @ExportedBean
    public class ToolApi
    extends Object
    Remote API model for a static analysis tool that has been invoked in a build. Simple Java Bean that exposes several methods of a tool instance.
    Ullrich Hafner
    • Constructor Detail

      • ToolApi

        public ToolApi​(String id,
                       String name,
                       String latestUrl,
                       int size,
                       Map<,​Integer> sizePerSeverity)
        Creates a new instance of ToolApi.
        id - unique ID of the tool
        name - human-readable name of the tool
        latestUrl - the URL to the latest results
        size - the number of warnings
        sizePerSeverity - the number of warnings, grouped by severity
    • Method Detail

      • getId

        public String getId()
      • getName

        public String getName()
      • getSize

        public int getSize()
      • getLatestUrl

        public String getLatestUrl()
      • getErrorSize

        public int getErrorSize()
      • getHighSize

        public int getHighSize()
      • getNormalSize

        public int getNormalSize()
      • getLowSize

        public int getLowSize()