Class ServerCheckoutPatchesStats
- java.lang.Object
-
- jetbrains.buildServer.serverSide.healthStatus.reports.ServerCheckoutPatchesStats
-
- All Implemented Interfaces:
EventListener
,PatchEventsListener
public class ServerCheckoutPatchesStats extends Object implements PatchEventsListener
Remembers build patches statistic for last 24 hours.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerCheckoutPatchesStats.PatchesStat
-
Constructor Summary
Constructors Constructor Description ServerCheckoutPatchesStats(EventDispatcher<PatchEventsListener> patchEvents, EventDispatcher<BuildServerListener> events, TimeService timeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,ServerCheckoutPatchesStats.PatchesStat>
getStatPerBuildType(Collection<SBuildType> buildTypesOfInterest)
void
patchSent(SRunningBuild build, long sizeInBytes)
-
-
-
Constructor Detail
-
ServerCheckoutPatchesStats
public ServerCheckoutPatchesStats(@NotNull EventDispatcher<PatchEventsListener> patchEvents, @NotNull EventDispatcher<BuildServerListener> events, @NotNull TimeService timeService)
-
-
Method Detail
-
patchSent
public void patchSent(@NotNull SRunningBuild build, long sizeInBytes)
- Specified by:
patchSent
in interfacePatchEventsListener
-
getStatPerBuildType
@NotNull public Map<String,ServerCheckoutPatchesStats.PatchesStat> getStatPerBuildType(Collection<SBuildType> buildTypesOfInterest)
-
-