jetbrains.buildServer.usageStatistics
Interface UsageStatisticsPublisher
@SystemProvided
public interface UsageStatisticsPublisher
Class for publishing custom usage statistics.
- Since:
- 6.0
|
Method Summary |
void |
publishStatistic(java.lang.String id,
java.lang.Object value)
Call this method to publish your custom usage statistic. |
publishStatistic
void publishStatistic(@NotNull
java.lang.String id,
@Nullable
java.lang.Object value)
- Call this method to publish your custom usage statistic.
- Parameters:
id - Statistic identifier. It is recommended to use your package name as prefix for this id to be sure
it does not clash with other statistics. E.g. "com.myCompanyName.teamcity.statistic.myStatisticName".value - The value of this statistic.- See Also:
UsageStatisticsProvider.accept(UsageStatisticsPublisher)