Interface InspectionReporter
-
- All Known Implementing Classes:
InspectionReporterImpl
public interface InspectionReporterSimple interface to report inspections on agent side
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(InspectionReporterListener listener)Adds listener to the inspection reporter.voidflush()Flush buffered inspections.voidmarkBuildAsInspectionsBuild()Mark build as inspections build meaning inspections tab will be shown even if zero inspections reportedvoidreportInspection(InspectionInstance inspection)Report inspection instancevoidreportInspectionType(InspectionTypeInfo inspectionType)Report inspection description
-
-
-
Method Detail
-
reportInspection
void reportInspection(@NotNull InspectionInstance inspection)Report inspection instance- Parameters:
inspection- Inspection description
-
reportInspectionType
void reportInspectionType(@NotNull InspectionTypeInfo inspectionType)Report inspection description- Parameters:
inspectionType- Inspection type description
-
markBuildAsInspectionsBuild
void markBuildAsInspectionsBuild()
Mark build as inspections build meaning inspections tab will be shown even if zero inspections reported
-
flush
void flush()
Flush buffered inspections. You usually don't need to call this method, reporter calls it automatically before build ends. However calling this method assures all buffered inspections flushed to outcoming message queue to the build server
-
addListener
void addListener(@NotNull InspectionReporterListener listener)Adds listener to the inspection reporter.- Parameters:
listener- listener to add
-
-