Class InspectionReporterImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.inspections.InspectionReporterImpl
-
- All Implemented Interfaces:
InspectionReporter
public class InspectionReporterImpl extends Object implements InspectionReporter
Created by IntelliJ IDEA. User: Leonid.Shalupov Date: 08.08.2008 Time: 14:44:27
-
-
Constructor Summary
Constructors Constructor Description InspectionReporterImpl(CurrentBuildTracker currentBuildTracker, EventDispatcher<AgentLifeCycleListener> agentDispatcher)
-
Method Summary
All Methods Instance Methods Concrete 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
-
-
-
Constructor Detail
-
InspectionReporterImpl
public InspectionReporterImpl(@NotNull CurrentBuildTracker currentBuildTracker, @NotNull EventDispatcher<AgentLifeCycleListener> agentDispatcher)
-
-
Method Detail
-
reportInspection
public void reportInspection(@NotNull InspectionInstance inspection)
Description copied from interface:InspectionReporter
Report inspection instance- Specified by:
reportInspection
in interfaceInspectionReporter
- Parameters:
inspection
- Inspection description
-
reportInspectionType
public void reportInspectionType(@NotNull InspectionTypeInfo inspectionType)
Description copied from interface:InspectionReporter
Report inspection description- Specified by:
reportInspectionType
in interfaceInspectionReporter
- Parameters:
inspectionType
- Inspection type description
-
markBuildAsInspectionsBuild
public void markBuildAsInspectionsBuild()
Description copied from interface:InspectionReporter
Mark build as inspections build meaning inspections tab will be shown even if zero inspections reported- Specified by:
markBuildAsInspectionsBuild
in interfaceInspectionReporter
-
flush
public void flush()
Description copied from interface:InspectionReporter
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- Specified by:
flush
in interfaceInspectionReporter
-
addListener
public void addListener(@NotNull InspectionReporterListener listener)
Description copied from interface:InspectionReporter
Adds listener to the inspection reporter.- Specified by:
addListener
in interfaceInspectionReporter
- Parameters:
listener
- listener to add
-
-