be.ac.ulg.montefiore.run.totem.chart.model.collectors
Class DataCollectorManager

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.chart.model.collectors.DataCollectorManager

public class DataCollectorManager
extends java.lang.Object

Maintains a list of all available collectors, can create instance of specific collectors, can get parameters of specific collectors

Creation date: 25 janv. 2006

Author:
Ga�l Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 java.lang.String[] getAvailableDataCollectors()
          return a table containing the availables collectors names
 ChartDataCollector getCollectorInstance(java.lang.String name)
          return a new instance of the collector whose name is given as parameter
 java.util.List<ParameterDescriptor> getCollectorParameters(java.lang.String shortName)
          returns the parameters that can be passed to the collector given by its name
static DataCollectorManager getInstance()
          return the unique instance of the manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataCollectorManager getInstance()
return the unique instance of the manager

Returns:

getAvailableDataCollectors

public java.lang.String[] getAvailableDataCollectors()
return a table containing the availables collectors names

Returns:

getCollectorParameters

public java.util.List<ParameterDescriptor> getCollectorParameters(java.lang.String shortName)
returns the parameters that can be passed to the collector given by its name

Parameters:
shortName -
Returns:
a list of parameters

getCollectorInstance

public ChartDataCollector getCollectorInstance(java.lang.String name)
return a new instance of the collector whose name is given as parameter

Parameters:
name - The name of the collector to instantiate.
Returns:


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.