Enum Class Period

java.lang.Object
java.lang.Enum<Period>
net.bull.javamelody.internal.model.Period
All Implemented Interfaces:
Serializable, Comparable<Period>, java.lang.constant.Constable

public enum Period extends Enum<Period>
Énumération des périodes possibles.
Author:
Emeric Vernat
  • Enum Constant Details

    • JOUR

      public static final Period JOUR
      Jour.
    • SEMAINE

      public static final Period SEMAINE
      Semaine.
    • MOIS

      public static final Period MOIS
      Mois.
    • ANNEE

      public static final Period ANNEE
      Année.
    • TOUT

      public static final Period TOUT
      Tout. (affiche les graphs sur 2 ans et toutes les requêtes y compris les dernières minutes)
  • Method Details

    • values

      public static Period[] 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 Period 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
    • valueOfIgnoreCase

      public static Period valueOfIgnoreCase(String period)
    • valueOfByMailCode

      public static Period valueOfByMailCode(String mailPeriod)
    • getCode

      public String getCode()
    • getMailCode

      public String getMailCode()
    • getLabel

      public String getLabel()
    • getLinkLabel

      public String getLinkLabel()
    • getIconName

      public String getIconName()
    • getRange

      public Range getRange()