public static interface PostProjectAnalysisTask.ProjectAnalysis
Modifier and Type | Method and Description |
---|---|
Optional<Analysis> |
getAnalysis()
Analysis containing the UUID of the analysis and the date
|
Optional<Date> |
getAnalysisDate()
Deprecated.
use
#getAnalysis().getDate() instead |
Optional<Branch> |
getBranch()
The branch that is being analyzed.
|
CeTask |
getCeTask()
Details of the Compute Engine task in which the project analysis was run.
|
Date |
getDate()
Deprecated.
use
#getAnalysis().getDate() instead. When getAnalysis() 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()
#getAnalysis().getDate()
instead. When getAnalysis()
returns
empty
, the current date will be returned.This date is the same as the date of the project analysis report and the snapshot.
@Deprecated Optional<Date> getAnalysisDate()
#getAnalysis().getDate()
instead
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
.
Optional<Analysis> getAnalysis()
This Analysis 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.