Enum Class Interval

java.lang.Object
java.lang.Enum<Interval>
com.morpheusdata.model.costing.Interval
All Implemented Interfaces:
Serializable, Comparable<Interval>, Constable

public enum Interval extends Enum<Interval>
Common Interval definition for dealing with cost models and cost data Morpheus only buckets into monthly, quarterly, and yearly intervals. daily is not yet an option.
Since:
1.1.2
See Also:
  • Enum Constant Details

    • MONTHLY

      public static final Interval MONTHLY
    • QUARTERLY

      public static final Interval QUARTERLY
    • YEARLY

      public static final Interval YEARLY
  • Method Details

    • values

      public static Interval[] 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 Interval 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