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 java.lang.String getLegend(java.lang.String id)
- Gets the legend for a given id.
- Parameters:
id - Identifier to search for.
- Returns:
- Legend corresponding to id.
addSerie
public void addSerie(java.lang.String id,
java.lang.String legend)
- Adds a series.
- Parameters:
id - Identifier of the series.legend - Legend name.
getSerieIds
public java.lang.String[] getSerieIds()
- Returns:
- Identifiers of all series.
getTitle
public java.lang.String getTitle()
- Returns:
- Graph title.
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title - New graph title.
getId
public java.lang.String getId()
- Returns:
- Graph identifier.
setId
public void setId(java.lang.String id)
- Parameters:
id - Graph identifier to set.
Copyright © 2009 OW2 Consortium. All Rights Reserved.