org.ow2.jasmine.monitoring.mbeancmd.graph.conf
Class GraphConfig
java.lang.Object
org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants
org.ow2.jasmine.monitoring.mbeancmd.graph.conf.GraphConfig
public class GraphConfig
- extends Constants
Graph configuration.
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.graph.conf.Constants |
getType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphConfig
public GraphConfig(Configuration parent)
- Creates a graph configuration based on a Configuration parent.
- Parameters:
parent - Configuration parent.
getParent
public Configuration getParent()
- Returns:
- Configuration parent.
getLegend
public String getLegend(String id)
- Gets the legend for a given id.
- Parameters:
id - Identifier to search for.
- Returns:
- Legend corresponding to id.
addSerie
public void addSerie(String id,
String legend)
- Adds a series.
- Parameters:
id - Identifier of the series.legend - Legend name.
getSerieIds
public String[] getSerieIds()
- Returns:
- Identifiers of all series.
getTitle
public String getTitle()
- Returns:
- Graph title.
setTitle
public void setTitle(String title)
- Parameters:
title - New graph title.
getId
public String getId()
- Returns:
- Graph identifier.
setId
public void setId(String id)
- Parameters:
id - Graph identifier to set.
Copyright © 2012 OW2 Consortium. All Rights Reserved.