public abstract class GenericCounterDecorator extends AbstractDecorator<GenericCounterStats>
MB| Constructor and Description |
|---|
GenericCounterDecorator(GenericCounterStats patternObject)
Minimal constructor.
|
GenericCounterDecorator(GenericCounterStats patternObject,
java.util.List<java.lang.String> shortExplanations,
java.util.List<java.lang.String> explanations)
Explanations-only list-based constructor.
|
GenericCounterDecorator(GenericCounterStats patternObject,
java.util.List<java.lang.String> captions,
java.util.List<java.lang.String> shortExplanations,
java.util.List<java.lang.String> explanations)
List-based main constructor.
|
GenericCounterDecorator(GenericCounterStats patternObject,
java.lang.String[] shortExplanations,
java.lang.String[] explanations)
Explanations-only array-based constructor.
|
GenericCounterDecorator(GenericCounterStats patternObject,
java.lang.String[] captions,
java.lang.String[] shortExplanations,
java.lang.String[] explanations)
Array-based main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<StatValueAO> |
getValues(GenericCounterStats stats,
java.lang.String interval,
TimeUnit unit)
Returns transformed stats for incoming stats object.
|
compareTo, getCaptions, getExplanation, getNamepublic GenericCounterDecorator(GenericCounterStats patternObject, java.lang.String[] captions, java.lang.String[] shortExplanations, java.lang.String[] explanations)
String[].patternObject - pattern for this concrete decorator which is a subclass of genericcounterstats.captions - captions of the values.shortExplanations - short explanations of the captions.explanations - explanations of the captions.public GenericCounterDecorator(GenericCounterStats patternObject, java.util.List<java.lang.String> captions, java.util.List<java.lang.String> shortExplanations, java.util.List<java.lang.String> explanations)
List.patternObject - pattern for this concrete decorator which is a subclass of genericcounterstats.captions - captions of the values.shortExplanations - short explanations of the captions.explanations - explanations of the captions.public GenericCounterDecorator(GenericCounterStats patternObject, java.lang.String[] shortExplanations, java.lang.String[] explanations)
String[].
We assume that captions are same as GenericCounterStats.getAvailableValueNames().patternObject - pattern for this concrete decorator which is a subclass of genericcounterstats.shortExplanations - short explanations of the captions.explanations - explanations of the captions.public GenericCounterDecorator(GenericCounterStats patternObject, java.util.List<java.lang.String> shortExplanations, java.util.List<java.lang.String> explanations)
List.
We assume that captions are same as GenericCounterStats.getAvailableValueNames().patternObject - pattern for this concrete decorator which is a subclass of genericcounterstats.shortExplanations - short explanations of the captions.explanations - explanations of the captions.public GenericCounterDecorator(GenericCounterStats patternObject)
GenericCounterStats.getAvailableValueNames().patternObject - pattern for this concrete decorator which is a subclass of genericcounterstats.public java.util.List<StatValueAO> getValues(GenericCounterStats stats, java.lang.String interval, TimeUnit unit)
IDecoratorstats - stats to decorate.interval - the selected interval.unit - the selected time unit.Copyright © 2010-2020 anotheria.net. All Rights Reserved.