Interface InspectionReporter
-
public interface InspectionReporter
Simple interface to report inspections on agent side
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(InspectionReporterListener listener)
Adds listener to the inspection reporter.void
flush()
Flush buffered inspections.void
markBuildAsInspectionsBuild()
Mark build as inspections build meaning inspections tab will be shown even if zero inspections reportedvoid
reportInspection(InspectionInstance inspection)
Report inspection instancevoid
reportInspectionType(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
-
-