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 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
-
-
-
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:InspectionReporterReport inspection instance- Specified by:
reportInspectionin interfaceInspectionReporter- Parameters:
inspection- Inspection description
-
reportInspectionType
public void reportInspectionType(@NotNull InspectionTypeInfo inspectionType)Description copied from interface:InspectionReporterReport inspection description- Specified by:
reportInspectionTypein interfaceInspectionReporter- Parameters:
inspectionType- Inspection type description
-
markBuildAsInspectionsBuild
public void markBuildAsInspectionsBuild()
Description copied from interface:InspectionReporterMark build as inspections build meaning inspections tab will be shown even if zero inspections reported- Specified by:
markBuildAsInspectionsBuildin interfaceInspectionReporter
-
flush
public void flush()
Description copied from interface:InspectionReporterFlush 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:
flushin interfaceInspectionReporter
-
addListener
public void addListener(@NotNull InspectionReporterListener listener)Description copied from interface:InspectionReporterAdds listener to the inspection reporter.- Specified by:
addListenerin interfaceInspectionReporter- Parameters:
listener- listener to add
-
-