public abstract class AbstractReport extends Object
Constructor and Description |
---|
AbstractReport(ProjectFilesystem filesystem,
DefectReporter defectReporter,
BuildEnvironmentDescription buildEnvironmentDescription,
VersionControlStatsGenerator versionControlStatsGenerator,
Console output,
DoctorConfig doctorBuckConfig,
ExtraInfoCollector extraInfoCollector,
Optional<WatchmanDiagReportCollector> watchmanDiagReportCollector) |
Modifier and Type | Method and Description |
---|---|
Optional<DefectReporter.DefectSubmitResult> |
collectAndSubmitResult() |
protected abstract Optional<DefectReporter.FileChangesIgnoredReport> |
getFileChangesIgnoredReport() |
protected Optional<SourceControlInfo> |
getSourceControlInfo() |
protected abstract Optional<com.facebook.buck.doctor.AbstractReport.UserReport> |
getUserReport() |
protected abstract com.google.common.collect.ImmutableSet<BuildLogEntry> |
promptForBuildSelection() |
public AbstractReport(ProjectFilesystem filesystem, DefectReporter defectReporter, BuildEnvironmentDescription buildEnvironmentDescription, VersionControlStatsGenerator versionControlStatsGenerator, Console output, DoctorConfig doctorBuckConfig, ExtraInfoCollector extraInfoCollector, Optional<WatchmanDiagReportCollector> watchmanDiagReportCollector)
protected abstract com.google.common.collect.ImmutableSet<BuildLogEntry> promptForBuildSelection()
protected Optional<SourceControlInfo> getSourceControlInfo() throws InterruptedException
InterruptedException
protected abstract Optional<com.facebook.buck.doctor.AbstractReport.UserReport> getUserReport()
protected abstract Optional<DefectReporter.FileChangesIgnoredReport> getFileChangesIgnoredReport() throws IOException, InterruptedException
IOException
InterruptedException
public final Optional<DefectReporter.DefectSubmitResult> collectAndSubmitResult() throws IOException, InterruptedException
IOException
InterruptedException