Package org.jivesoftware.openfire.stats
Class i18nStatistic
java.lang.Object
org.jivesoftware.openfire.stats.i18nStatistic
- All Implemented Interfaces:
Statistic
A convience class to build statistic parameters out of a resource bundle.
- Author:
- Alexander Wenckus
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jivesoftware.openfire.stats.Statistic
Statistic.Type -
Constructor Summary
ConstructorsConstructorDescriptioni18nStatistic(String resourceKey, String pluginName, Statistic.Type statisticType) i18nStatistic(String resourceKey, Statistic.Type statisticType) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.openfire.stats.Statistic
isPartialSample, sample
-
Constructor Details
-
i18nStatistic
-
i18nStatistic
-
-
Method Details
-
getName
Description copied from interface:StatisticReturns the name of a stat. -
getStatType
Description copied from interface:StatisticReturns the type of a stat.- Specified by:
getStatTypein interfaceStatistic- Returns:
- the type of a stat.
-
getDescription
Description copied from interface:StatisticReturns a description of the stat.- Specified by:
getDescriptionin interfaceStatistic- Returns:
- a description of the stat.
-
getUnits
Description copied from interface:StatisticReturns the units that relate to the stat.
-