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 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