Enum Class AnalysisView

java.lang.Object
java.lang.Enum<AnalysisView>
org.pentaho.platform.config.AnalysisView
All Implemented Interfaces:
Serializable, Comparable<AnalysisView>, Constable

public enum AnalysisView extends Enum<AnalysisView>
The AnalysisView enum facilitates predefined views for charting performance metrics
Author:
gmoran
  • Enum Constant Details

    • FIFTEEN_MINUTES

      public static final AnalysisView FIFTEEN_MINUTES
    • THIRTY_MINUTES

      public static final AnalysisView THIRTY_MINUTES
    • ONE_HOUR

      public static final AnalysisView ONE_HOUR
    • TWELVE_HOURS

      public static final AnalysisView TWELVE_HOURS
    • TWENTY_FOUR_HOURS

      public static final AnalysisView TWENTY_FOUR_HOURS
    • SEVEN_DAYS

      public static final AnalysisView SEVEN_DAYS
    • THIRTY_DAYS

      public static final AnalysisView THIRTY_DAYS
    • NINETY_DAYS

      public static final AnalysisView NINETY_DAYS
  • Method Details

    • values

      public static AnalysisView[] 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 AnalysisView 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
    • getInterval

      public final double getInterval()
      Returns:
      the interval
    • getPeriods

      public final int getPeriods()
      Returns:
      the periods