S - the stat type that his decorator proceeds.public interface IDecorator<S extends IStats>
extends net.anotheria.util.sorter.IComparable
| Modifier and Type | Method and Description |
|---|---|
List<StatCaptionBean> |
getCaptions()
Returns the captions for the stat table.
|
String |
getExplanation(String caption)
Returns an explanation for a caption.
|
String |
getName()
Returns the name of the decorator.
|
List<StatValueAO> |
getValues(S stats,
String interval,
TimeUnit unit)
Returns transformed stats for incoming stats object.
|
String getName()
List<StatCaptionBean> getCaptions()
List<StatValueAO> getValues(S stats, String interval, TimeUnit unit)
stats - stats to decorate.interval - the selected interval.unit - the selected time unit.Copyright © 2010-2015 anotheria.net. All Rights Reserved.