public static interface PostProjectAnalysisTask.ProjectAnalysis
Modifier and Type | Method and Description |
---|---|
Optional<Date> |
getAnalysisDate()
Date of the analysis.
|
CeTask |
getCeTask()
Details of the Compute Engine task in which the project analysis was run.
|
Date |
getDate()
Deprecated.
use
getAnalysisDate() instead. When getAnalysisDate() returns
empty , the current date will be returned. |
Project |
getProject()
Details of the analyzed project.
|
QualityGate |
getQualityGate()
Status and details of the Quality Gate of the project (if any was configured on the project).
|
ScannerContext |
getScannerContext()
Context as defined by scanner through
SensorContext.addContextProperty(String, String) . |
CeTask getCeTask()
Project getProject()
@CheckForNull QualityGate getQualityGate()
@Deprecated Date getDate()
getAnalysisDate()
instead. When getAnalysisDate()
returns
empty
, the current date will be returned.This date is the same as the date of the project analysis report and the snapshot.
Optional<Date> getAnalysisDate()
This date is the same as the date of the project analysis report and therefore as the analysis in DB. It can be
missing when the status of the task is FAILED
.
ScannerContext getScannerContext()
SensorContext.addContextProperty(String, String)
.
It does not contain the settings used by scanner.Copyright © 2009–2017 SonarSource. All rights reserved.