Package org.gephi.statistics.spi
Interface StatisticsBuilder
-
public interface StatisticsBuilder
Statistics builder defines an statistics and is responsible for building new instances.Builders must add @ServiceProvider annotation to be found by the system.
To be fully integrated, one must also also implement
StatisticsUI
.- Author:
- Patrick J. McSweeney
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of statisticsStatistics
getStatistics()
Build a new statistics instance and return itClass<? extends Statistics>
getStatisticsClass()
Returns the statistics' class this UI belongs to.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of statistics- Returns:
- the name of the statistics
-
getStatistics
Statistics getStatistics()
Build a new statistics instance and return it- Returns:
- a new statistics instance
-
getStatisticsClass
Class<? extends Statistics> getStatisticsClass()
Returns the statistics' class this UI belongs to.- Returns:
- the statistics' class this UI belongs to
-
-