Enum Class Aggregates

java.lang.Object
java.lang.Enum<Aggregates>
com.djrapitops.plan.extension.graph.Aggregates
All Implemented Interfaces:
Serializable, Comparable<Aggregates>, Constable

public enum Aggregates extends Enum<Aggregates>
Aggregates that a graph supports.

Requires capability DATA_EXTENSION_GRAPH_API.

  • Enum Constant Details

    • MAX_PEAK

      public static final Aggregates MAX_PEAK
      Maximum seen point.

      Produces a data point.

    • MIN_VALLEY

      public static final Aggregates MIN_VALLEY
      Minimum seen point.

      Produces a data point.

    • MAX_PEAK_OVER_TIME

      public static final Aggregates MAX_PEAK_OVER_TIME
      MAX that can be filtered by time value x, eg. last 30 days

      Produces a data point.

    • MIN_VALLEY_OVER_TIME

      public static final Aggregates MIN_VALLEY_OVER_TIME
      MIN that can be filtered by time value x, eg. last 30 days

      Produces a data point.

    • SUM_OVER_TIME

      public static final Aggregates SUM_OVER_TIME
      SUM that can be filtered by time value x, eg. last 30 days

      Produces a data point.

    • SUM_ALL

      public static final Aggregates SUM_ALL
      Cumulative SUM over all points

      Produces a data point.

    • SUM_INTO_GRAPH

      public static final Aggregates SUM_INTO_GRAPH
      SUM over all player graphs points into a single server graph - Only used with PlayerGraphDataSource.

      Granularity of the sum is GraphProvider.sampleInterval().

      Produces a graph on server page.

  • Method Details

    • values

      public static Aggregates[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Aggregates valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null