Enum Class Zone

java.lang.Object
java.lang.Enum<Zone>
io.openems.edge.timeofusetariff.awattar.Zone
All Implemented Interfaces:
Serializable, Comparable<Zone>, Constable

public enum Zone extends Enum<Zone>
Represents different energy market zones.
  • Enum Constant Details

    • GERMANY

      public static final Zone GERMANY
      The energy market zone for Germany.
    • AUSTRIA

      public static final Zone AUSTRIA
      The energy market zone for Austria.
  • Method Details

    • values

      public static Zone[] 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 Zone 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
    • toUrl

      public String toUrl()
      Returns the API URL specific to the Zone.
      Returns:
      The Zone specific API URL.