in server/src/jetbrains/buildServer/sharedResources/server/health/InvalidLocksReport.java [79:91]
public void report(@NotNull final HealthStatusScope scope, @NotNull final HealthStatusItemConsumer resultConsumer) {
for (final SBuildType type: scope.getBuildTypes()) {
final Map<Lock, String> invalidLocks = myInspector.inspect(type);
if (!invalidLocks.isEmpty()) {
resultConsumer.consumeForBuildType(
type,
new HealthStatusItem(myCategory.getId() + "_" + type.getInternalId(), myCategory, new HashMap<String, Object>() {{
put("invalid_locks", invalidLocks);
put("build_type", type);
}}));
}
}
}