Class Metrics

java.lang.Object
org.bstats.sponge.Metrics

public class Metrics extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A factory to create new Metrics classes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCustomChart(org.bstats.charts.CustomChart chart)
    Adds a custom chart.
    void
    Shuts down the underlying scheduler service.
    void
    startup(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • startup

      public void startup(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event)
    • shutdown

      public void shutdown()
      Shuts down the underlying scheduler service.
    • addCustomChart

      public void addCustomChart(org.bstats.charts.CustomChart chart)
      Adds a custom chart.
      Parameters:
      chart - The chart to add.