public class KloResult extends Object implements Serializable
Constructor and Description |
---|
KloResult(KloReport report,
KloSourceContainer kloSourceContainer,
hudson.model.AbstractBuild<?,?> owner) |
Modifier and Type | Method and Description |
---|---|
hudson.model.Api |
getApi()
Gets the remote API for the build result.
|
String |
getDetails()
Renders the detailed summary Klocwork report for the build result.
|
KloSourceContainer |
getKloSourceContainer() |
int |
getNumberErrorsAccordingConfiguration(KloConfig kloConfig,
boolean checkNewError)
Gets the number of errors according the selected severitiies form the configuration user object.
|
int |
getNumberNewErrorsFromPreviousBuild()
Returns the number of new errors from the previous build result.
|
hudson.model.AbstractBuild<?,?> |
getOwner() |
KloResult |
getPreviousResult()
Gets the previous Klocwork result for the build result.
|
KloReport |
getReport() |
String |
getSummary()
Renders the summary Klocwork report for the build result.
|
boolean |
isKwinspectreportDeprecated() |
public KloResult(KloReport report, KloSourceContainer kloSourceContainer, hudson.model.AbstractBuild<?,?> owner)
public hudson.model.Api getApi()
public KloReport getReport()
public hudson.model.AbstractBuild<?,?> getOwner()
public String getSummary()
public String getDetails()
public int getNumberNewErrorsFromPreviousBuild()
public int getNumberErrorsAccordingConfiguration(KloConfig kloConfig, boolean checkNewError) throws IOException
kloConfig
- the Klocwork configuration objectcheckNewError
- true, if the request is for the number of new errorsIOException
- klocwork configuration file is missingpublic KloResult getPreviousResult()
public KloSourceContainer getKloSourceContainer()
public boolean isKwinspectreportDeprecated()
Copyright © 2016–2017. All rights reserved.