Package org.jivesoftware.openfire.stats
Class i18nStatistic
- java.lang.Object
-
- org.jivesoftware.openfire.stats.i18nStatistic
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jivesoftware.openfire.stats.Statistic
Statistic.Type
-
-
Constructor Summary
Constructors Constructor Description i18nStatistic(String resourceKey, String pluginName, Statistic.Type statisticType)i18nStatistic(String resourceKey, Statistic.Type statisticType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns a description of the stat.StringgetName()Returns the name of a stat.Statistic.TypegetStatType()Returns the type of a stat.StringgetUnits()Returns the units that relate to the stat.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.openfire.stats.Statistic
isPartialSample, sample
-
-
-
-
Constructor Detail
-
i18nStatistic
public i18nStatistic(String resourceKey, Statistic.Type statisticType)
-
i18nStatistic
public i18nStatistic(String resourceKey, String pluginName, Statistic.Type statisticType)
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:StatisticReturns the name of a stat.
-
getStatType
public final Statistic.Type getStatType()
Description copied from interface:StatisticReturns the type of a stat.- Specified by:
getStatTypein interfaceStatistic- Returns:
- the type of a stat.
-
getDescription
public final String getDescription()
Description copied from interface:StatisticReturns a description of the stat.- Specified by:
getDescriptionin interfaceStatistic- Returns:
- a description of the stat.
-
-