jetbrains.buildServer.web.statistics.graph
Class MainConfigXmlGraphProvider
java.lang.Object
jetbrains.buildServer.web.statistics.graph.DeclarativeValueTypeProvider
jetbrains.buildServer.web.statistics.graph.MainConfigXmlGraphProvider
- All Implemented Interfaces:
- MainConfigProcessor, ServerExtension, TeamCityExtension, XmlExternalizable, XmlStorable
public class MainConfigXmlGraphProvider
- extends DeclarativeValueTypeProvider
- implements MainConfigProcessor
Graph data provider which reads data from main-config.xml file.
The graphs are shown on build configuration statistics pages
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainConfigXmlGraphProvider
public MainConfigXmlGraphProvider(SBuildServer server,
BuildDataStorage storage,
ValueProviderRegistry valueProviderRegistry)
- Constructor
- Parameters:
server - build server objectstorage - build data storagevalueProviderRegistry - registry for value providers for the graphs
addGraph
public void addGraph(XmlGraphBean bean)
getGraphs
public java.util.List<XmlGraphBean> getGraphs()
writeTo
public void writeTo(org.jdom.Element parentElement)
- Description copied from interface:
XmlExternalizable
- Write data to the JDOM element
- Specified by:
writeTo in interface XmlExternalizable
- Parameters:
parentElement - - parent element to write data to