Interface InsightReport
public interface InsightReport
Represents an InsightReport.
- Since:
- 5.15
- 
Method SummaryModifier and TypeMethodDescriptionThe commit id which this report was registered against.The date this report was created.getData()Free form data stored with this report.Details for the report.getKey()Unique key for the report.getLink()Callback link.URL to fetch the icon for the report from.Name of the tool that produced the report, this may contain characters that are unsafe to display without escaping.com.atlassian.bitbucket.repository.RepositoryRepository that the report is attached to.The result of the report and by extension the job that produced the report.getTitle()Title of the report.
- 
Method Details- 
getCommitIdThe commit id which this report was registered against.- Returns:
- the commit id
 
- 
getCoverageProviderKey- Returns:
- an Optionalcontaining the code coverage provider key, orOptional.empty()if no provider
- Since:
- 6.8
 
- 
getCreatedDateThe date this report was created.- Returns:
- The date this report was created, the date would be the date of the node servicing the request to create the report
 
- 
getDataFree form data stored with this report. The data is defined by the caller, and as such no guarantees are made on the shape of it. The order of the array is the same as it was when the report was stored.- Returns:
- the data, if no data is stored an empty list will be returned
 
- 
getDetailsDetails for the report. This is typically a longer description of the report or longer information for the report. If the string is too long it will be either trimmed or truncated at the time of display.- Returns:
- an Optionalcontaining the stored details, orOptional.empty()if no details were recorded
 
- 
getKeyUnique key for the report. This report is typically a reporter prefixed string and say a CI system plan key. The key should typically not contain the build number as that would generate multiple reports for the same commit if the build is re-run. There can only be one report with a given key for a commit.- Returns:
- key for the report
 
- 
getLinkCallback link. This link is typically a link back to the reporter that produced the report. For the case of CI system it would link back to the build that produced the report.- Returns:
- an Optionalcontaining the link, orOptional.empty()if no link was stored
 
- 
getLogoUrlURL to fetch the icon for the report from.- Returns:
- an Optionalcontaining the url orOptional.empty()if no icon is to be displayed
 
- 
getRepository@Nonnull com.atlassian.bitbucket.repository.Repository getRepository()Repository that the report is attached to.- Returns:
- the repository for this report
 
- 
getResultThe result of the report and by extension the job that produced the report. The semantic meaning of what a 'FAILED' report means is up to the producer of the report.- Returns:
- an Optionalcontaining the result orOptional.empty()if the report does not have a result
 
- 
getTitleTitle of the report.- Returns:
- title of the report, this may contain characters that are unsafe to display without escaping
 
- 
getReporterName of the tool that produced the report, this may contain characters that are unsafe to display without escaping.- Returns:
- an Optionalcontaining the reporter name orOptional.empty()if the report has no reporter
 
 
-