Class ToolApi
java.lang.Object
io.jenkins.plugins.analysis.core.restapi.ToolApi
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.
- Author:
- Ullrich Hafner
-
Constructor Details
-
ToolApi
public ToolApi(String id, String name, String latestUrl, int size, Map<edu.hm.hafner.analysis.Severity, Integer> sizePerSeverity) Creates a new instance ofToolApi
.- Parameters:
id
- unique ID of the toolname
- human-readable name of the toollatestUrl
- the URL to the latest resultssize
- the number of warningssizePerSeverity
- the number of warnings, grouped by severity
-
-
Method Details
-
getId
-
getName
-
getSize
@Exported public int getSize() -
getLatestUrl
-
getErrorSize
@Exported public int getErrorSize() -
getHighSize
@Exported public int getHighSize() -
getNormalSize
@Exported public int getNormalSize() -
getLowSize
@Exported public int getLowSize()
-