org.apache.sirona.reporting.web.plugin.report.format
Class MapFormat
java.lang.Object
org.apache.sirona.reporting.web.plugin.report.format.MapFormat
- Direct Known Subclasses:
- CSVFormat, HTMLFormat
public abstract class MapFormat
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
ATTRIBUTES_ORDERED_LIST
public static final Collection<String> ATTRIBUTES_ORDERED_LIST
MapFormat
public MapFormat()
buildMetricDataHeader
protected static Collection<String> buildMetricDataHeader()
format
public static String format(Map<String,?> params,
String defaultValue)
timeUnit
public static Unit timeUnit(Map<String,?> params)
snapshotByPath
protected static Map<String,Collection<String>> snapshotByPath(Unit timeUnit,
String format)
generateCounterKeyString
public static String generateCounterKeyString(Counter.Key key)
snapshot
protected static Collection<Collection<String>> snapshot(Unit timeUnit,
String format)
generateLine
public static Collection<String> generateLine(Counter counter,
Unit timeUnit,
String format)
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.