|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.graph.conf.GraphConfig
public class GraphConfig
Graph configuration.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants |
---|
Constants.DataType |
Field Summary | |
---|---|
private java.lang.String |
id
Graph identifier. |
private Configuration |
parent
Parent configuration. |
private java.util.Map<java.lang.String,java.lang.String> |
series
Map of series. |
private java.lang.String |
title
Graph title. |
Fields inherited from interface org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants |
---|
DATEFORMAT_LONG, GRAPH_CONFIG_PATH |
Constructor Summary | |
---|---|
GraphConfig(Configuration parent)
Creates a graph configuration based on a Configuration parent. |
Method Summary | |
---|---|
void |
addSerie(java.lang.String id,
java.lang.String legend)
Adds a series. |
java.lang.String |
getId()
|
java.lang.String |
getLegend(java.lang.String id)
Gets the legend for a given id. |
Configuration |
getParent()
|
java.lang.String[] |
getSerieIds()
|
java.lang.String |
getTitle()
|
void |
setId(java.lang.String id)
|
void |
setTitle(java.lang.String title)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String id
private java.lang.String title
private java.util.Map<java.lang.String,java.lang.String> series
private Configuration parent
Constructor Detail |
---|
public GraphConfig(Configuration parent)
parent
- Configuration parent.Method Detail |
---|
public Configuration getParent()
public java.lang.String getLegend(java.lang.String id)
id
- Identifier to search for.
public void addSerie(java.lang.String id, java.lang.String legend)
id
- Identifier of the series.legend
- Legend name.public java.lang.String[] getSerieIds()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- New graph title.public java.lang.String getId()
public void setId(java.lang.String id)
id
- Graph identifier to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |