Package org.opennms.netmgt.config
Class ChartConfigManager
- java.lang.Object
-
- org.opennms.netmgt.config.ChartConfigManager
-
- Direct Known Subclasses:
ChartConfigFactory
public abstract class ChartConfigManager extends java.lang.Object
Abstract ChartConfigManager class.
- Version:
- $Id: $
- Author:
- david
-
-
Constructor Summary
Constructors Constructor Description ChartConfigManager()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ChartConfiguration
getConfiguration()
getConfigurationstatic void
parseXml(java.io.InputStream stream)
parseXmlvoid
saveCurrent()
saveCurrentprotected abstract void
saveXml(java.lang.String xml)
saveXmlvoid
setConfiguration(ChartConfiguration configuration)
setConfigurationprotected abstract void
update()
update
-
-
-
Method Detail
-
parseXml
public static void parseXml(java.io.InputStream stream) throws java.io.IOException
parseXml
- Parameters:
stream
- aInputStream
object.- Throws:
java.io.IOException
- if any.
-
saveXml
protected abstract void saveXml(java.lang.String xml) throws java.io.IOException
saveXml
- Parameters:
xml
- aString
object.- Throws:
java.io.IOException
- if any.
-
saveCurrent
public void saveCurrent() throws java.io.IOException
saveCurrent
- Throws:
java.io.IOException
- if any.
-
getConfiguration
public ChartConfiguration getConfiguration() throws java.io.IOException
getConfiguration
- Returns:
- a
ChartConfiguration
object. - Throws:
java.io.IOException
- if any.
-
setConfiguration
public void setConfiguration(ChartConfiguration configuration)
setConfiguration
- Parameters:
configuration
- aChartConfiguration
object.
-
update
protected abstract void update() throws java.io.IOException
update
- Throws:
java.io.IOException
- if any.
-
-