pl.edu.agh.cast.model
Class DefaultStatisticsProvider
java.lang.Object
pl.edu.agh.cast.model.DefaultStatisticsProvider
- All Implemented Interfaces:
- IStatisticsProvider
public class DefaultStatisticsProvider
- extends Object
- implements IStatisticsProvider
The default implementation of the statistics provider counts only the number of source and target relations, not
taking into account any domain model data associated with them.
- Author:
- AGH CAST Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStatisticsProvider
public DefaultStatisticsProvider()
statistics
public List<Statistic> statistics(IDataProvider dataProvider,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Generates statistics for a given data provider.
- Specified by:
statistics
in interface IStatisticsProvider
- Parameters:
dataProvider
- The IDataProvider
for which the statistic is generatedmonitor
- a non-null progress monitor (can be a NullProgressMonitor
if progress
monitoring is not required)
- Returns:
- List of statistics generated for the given data provider
- See Also:
IStatisticsProvider.statistics(pl.edu.agh.cast.model.base.IDataProvider,
org.eclipse.core.runtime.IProgressMonitor)
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.