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 |
|---|---|
java.util.List<StatCaptionBean> |
getCaptions()
Returns the captions for the stat table.
|
java.lang.String |
getExplanation(java.lang.String caption)
Returns an explanation for a caption.
|
java.lang.String |
getName()
Returns the name of the decorator.
|
java.util.List<StatValueAO> |
getValues(S stats,
java.lang.String interval,
TimeUnit unit)
Returns transformed stats for incoming stats object.
|
java.lang.String getName()
java.util.List<StatCaptionBean> getCaptions()
java.util.List<StatValueAO> getValues(S stats, java.lang.String interval, TimeUnit unit)
stats - stats to decorate.interval - the selected interval.unit - the selected time unit.java.lang.String getExplanation(java.lang.String caption)
caption - Copyright © 2010-2020 anotheria.net. All Rights Reserved.