public class MetaData extends java.lang.Object implements JsonStream.Streamable
| Constructor and Description |
|---|
MetaData()
Create an empty MetaData object.
|
MetaData(java.util.Map<java.lang.String,java.lang.Object> m)
Create a MetaData with values copied from an existing Map
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToTab(java.lang.String tabName,
java.lang.String key,
java.lang.Object value)
Add diagnostic information to a tab of this MetaData.
|
void |
clearTab(java.lang.String tabName)
Remove a tab of diagnostic information from this MetaData.
|
void |
toStream(JsonStream writer) |
public MetaData()
public MetaData(java.util.Map<java.lang.String,java.lang.Object> m)
public void toStream(JsonStream writer) throws java.io.IOException
toStream in interface JsonStream.Streamablejava.io.IOExceptionpublic void addToTab(java.lang.String tabName,
java.lang.String key,
java.lang.Object value)
tabName - the dashboard tab to add diagnostic data tokey - the name of the diagnostic informationvalue - the contents of the diagnostic informationpublic void clearTab(java.lang.String tabName)
tabName - the dashboard tab to remove diagnostic data from